More work on figuring out wclang with conan.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-07-11 14:24:10 +02:00
parent e578331001
commit 61aa266737
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 6 deletions

View File

@ -18,16 +18,12 @@ add_library(Arbutils ${LIBTYPE} ${SRC_FILES})
if (WINDOWS)
MESSAGE(WARNING, "Using Windows Build.")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -pthread")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -pthread -wc-use-mingw-linker")
set_target_properties(Arbutils PROPERTIES SUFFIX ".dll")
endif (WINDOWS)
if (STATICC)
if (WINDOWS)
target_link_libraries(Arbutils -wc-static-runtime)
else ()
target_link_libraries(Arbutils -static-libgcc -static-libstdc++)
endif (WINDOWS)
target_link_libraries(Arbutils -static-libgcc -static-libstdc++)
endif (STATICC)
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")