From 48abcfcd4142b8457e25349de616522ee9b8353a Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 31 Dec 2019 13:54:52 +0100 Subject: [PATCH] Link all at once in cmake. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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.")