Link all at once in cmake.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-12-31 13:54:52 +01:00
parent d3e74aeee9
commit 48abcfcd41
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 3 deletions

View File

@ -36,9 +36,8 @@ foreach (_variableName ${CONAN_LIBS})
message(STATUS "Lib: ${_variableName}") message(STATUS "Lib: ${_variableName}")
endforeach() endforeach()
conan_target_link_libraries(pkmnLib) target_link_libraries(pkmnLib ${CONAN_LIBS})
conan_target_link_libraries(pkmnLibTests) target_link_libraries(pkmnLibTests pkmnLib ${CONAN_LIBS})
target_link_libraries(pkmnLibTests pkmnLib)
if (WINDOWS) if (WINDOWS)
message(STATUS "Using Windows build.") message(STATUS "Using Windows build.")