diff --git a/CMakeLists.txt b/CMakeLists.txt index 19cd267..7f15e28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,9 @@ if (WINDOWS) target_link_libraries(CreatureLibCore -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(CreatureLibTests -static -static-libgcc -static-libstdc++) + if (NOT DEFINED CONAN_EXPORTED) + target_link_libraries(CreatureLibTests -static -static-libgcc -static-libstdc++) + endif () endif (WINDOWS) if (NOT DEFINED CONAN_EXPORTED)