From 0e8ec5d4302a9d5f61b5fb9fbc22cc05ac1a012e Mon Sep 17 00:00:00 2001 From: psycho Date: Tue, 26 Jul 2022 09:47:16 +0900 Subject: [PATCH] Add missing dependencies for test_coordgen It will fix #116 --- test/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 191aaad..05e3ca7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -11,9 +11,10 @@ else(COORDGEN_BUILD_SHARED_LIBS) target_compile_definitions(test_coordgen PRIVATE "STATIC_COORDGEN") endif(COORDGEN_BUILD_SHARED_LIBS) -find_package(Boost COMPONENTS filesystem unit_test_framework REQUIRED) +find_package(Boost COMPONENTS filesystem iostreams unit_test_framework REQUIRED) +find_package(ZLIB REQUIRED) -target_link_libraries(test_coordgen coordgen ${maeparser_LIBRARIES} ${boost_link_options} Boost::unit_test_framework Boost::filesystem) +target_link_libraries(test_coordgen coordgen ${maeparser_LIBRARIES} ${boost_link_options} Boost::unit_test_framework Boost::iostreams Boost::filesystem z) # Set the path for the input files get_filename_component(TEST_SAMPLES_PATH ${CMAKE_CURRENT_SOURCE_DIR} ABSOLUTE)