Set Windows flag.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
aacca6e5e2
commit
7d6ec6f5a6
|
@ -8,6 +8,10 @@ file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp")
|
||||||
add_library(Arbutils SHARED ${SRC_FILES})
|
add_library(Arbutils SHARED ${SRC_FILES})
|
||||||
set_target_properties(Arbutils PROPERTIES LINKER_LANGUAGE CXX)
|
set_target_properties(Arbutils PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
|
|
||||||
|
if (WINDOWS)
|
||||||
|
ADD_DEFINITIONS(-D WINDOWS=1)
|
||||||
|
endif (WINDOWS)
|
||||||
|
|
||||||
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")
|
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")
|
||||||
if (NOT DEFINED CONAN_EXPORTED)
|
if (NOT DEFINED CONAN_EXPORTED)
|
||||||
add_executable(ArbutilsTests ${TEST_FILES} extern/catch.hpp)
|
add_executable(ArbutilsTests ${TEST_FILES} extern/catch.hpp)
|
||||||
|
|
Loading…
Reference in New Issue