From e502c950e87d324bc16d03e750e778e7c606ba10 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 31 Dec 2019 13:41:44 +0100 Subject: [PATCH] Link conan dependencies for tests before linking to pkmnLib. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb9a54a..76ad4db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,8 +37,8 @@ foreach (_variableName ${CONAN_LIBS}) endforeach() conan_target_link_libraries(pkmnLib) -target_link_libraries(pkmnLibTests pkmnLib) conan_target_link_libraries(pkmnLibTests) +target_link_libraries(pkmnLibTests pkmnLib) if (WINDOWS) message(STATUS "Using Windows build.")