Fix Cmake issue when targeting Windows from Conan.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4bc8a047b3
commit
34cb7ee4db
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue