[ox] Fix MSVC build
This commit is contained in:
Vendored
-2
@@ -1,3 +1 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
add_subdirectory(ox)
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
add_library(
|
||||
OxClArgs
|
||||
|
||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ add_library(
|
||||
)
|
||||
|
||||
if(NOT OX_BARE_METAL)
|
||||
if(NOT APPLE)
|
||||
if(NOT APPLE AND NOT MSVC)
|
||||
target_link_libraries(
|
||||
OxFS PUBLIC
|
||||
stdc++fs
|
||||
|
||||
Vendored
+3
-1
@@ -6,7 +6,9 @@ add_library(
|
||||
|
||||
find_package(jsoncpp REQUIRED)
|
||||
|
||||
target_compile_options(OxOrganicClaw PRIVATE -Wsign-conversion)
|
||||
if(NOT MSVC)
|
||||
target_compile_options(OxOrganicClaw PRIVATE -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
target_link_libraries(
|
||||
OxOrganicClaw PUBLIC
|
||||
|
||||
Vendored
+3
-1
@@ -14,7 +14,9 @@ add_library(
|
||||
trace.cpp
|
||||
)
|
||||
|
||||
target_compile_options(OxStd PRIVATE -Wsign-conversion)
|
||||
if(NOT MSVC)
|
||||
target_compile_options(OxStd PRIVATE -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
if(NOT OX_BARE_METAL)
|
||||
set_property(
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
add_executable(
|
||||
StdTest
|
||||
|
||||
Reference in New Issue
Block a user