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

This commit is contained in:
Deukhoofd committed 2020-07-11 14:24:10 +02:00
1 parent e578331001
commit 61aa266737
1 file changed
+1 -5
+1 -5
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)
endif (STATICC)
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")