diff --git a/CMakeLists.txt b/CMakeLists.txt index 76ad4db..1d77ce4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,9 +36,8 @@ foreach (_variableName ${CONAN_LIBS}) message(STATUS "Lib: ${_variableName}") endforeach() -conan_target_link_libraries(pkmnLib) -conan_target_link_libraries(pkmnLibTests) -target_link_libraries(pkmnLibTests pkmnLib) +target_link_libraries(pkmnLib ${CONAN_LIBS}) +target_link_libraries(pkmnLibTests pkmnLib ${CONAN_LIBS}) if (WINDOWS) message(STATUS "Using Windows build.")