Fix Cmake issue when targeting Windows from Conan.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-01-01 14:48:20 +01:00
parent 4bc8a047b3
commit 34cb7ee4db
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@ if (WINDOWS)
target_link_libraries(CreatureLibCore -static -static-libgcc -static-libstdc++) target_link_libraries(CreatureLibCore -static -static-libgcc -static-libstdc++)
target_link_libraries(CreatureLibLibrary -static -static-libgcc -static-libstdc++) target_link_libraries(CreatureLibLibrary -static -static-libgcc -static-libstdc++)
target_link_libraries(CreatureLibBattling -static -static-libgcc -static-libstdc++) target_link_libraries(CreatureLibBattling -static -static-libgcc -static-libstdc++)
if (NOT DEFINED CONAN_EXPORTED)
target_link_libraries(CreatureLibTests -static -static-libgcc -static-libstdc++) target_link_libraries(CreatureLibTests -static -static-libgcc -static-libstdc++)
endif ()
endif (WINDOWS) endif (WINDOWS)
if (NOT DEFINED CONAN_EXPORTED) if (NOT DEFINED CONAN_EXPORTED)