Commit 139f32c3 by Maarten L. Hekkelman

correct dependency for tests

parent 81c0d019
...@@ -310,7 +310,7 @@ if(CIFPP_BUILD_TESTS) ...@@ -310,7 +310,7 @@ if(CIFPP_BUILD_TESTS)
${CMAKE_CURRENT_BINARY_DIR} # for config.h ${CMAKE_CURRENT_BINARY_DIR} # for config.h
) )
target_link_libraries(${CIFPP_TEST} $<TARGET_OBJECTS:cifpp> Threads::Threads ${Boost_LIBRARIES}) target_link_libraries(${CIFPP_TEST} cifpp Threads::Threads ${Boost_LIBRARIES})
if(${ZLIB_FOUND}) if(${ZLIB_FOUND})
target_link_libraries(${CIFPP_TEST} ZLIB::ZLIB) target_link_libraries(${CIFPP_TEST} ZLIB::ZLIB)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment