]> git.stg.codes - stg.git/commitdiff
Add missing library link.
authorMaksym Mamontov <madf@madf.info>
Fri, 19 Aug 2022 08:42:02 +0000 (11:42 +0300)
committerMaksym Mamontov <madf@madf.info>
Fri, 19 Aug 2022 08:42:02 +0000 (11:42 +0300)
tests/CMakeLists.txt

index aeacfcc48275c2a6f14d243d3a2e3b6805562d2f..250f5e06ca521017eedce8dc59667c00286f8147 100644 (file)
@@ -31,21 +31,21 @@ target_link_libraries ( test_conffiles conffiles Boost::unit_test_framework )
 add_test ( stgconffiles test_conffiles )
 
 add_executable ( test_fee_charge_rules test_fee_charge_rules.cpp ../projects/stargazer/user_impl.cpp ../projects/stargazer/tariff_impl.cpp ../projects/stargazer/user_property.cpp )
-target_link_libraries ( test_fee_charge_rules logger scriptexecuter common Boost::unit_test_framework )
+target_link_libraries ( test_fee_charge_rules logger scriptexecuter common Boost::unit_test_framework Threads::Threads )
 target_include_directories ( test_fee_charge_rules PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ../projects/stargazer )
 add_test ( fee_charge_rules test_fee_charge_rules )
 
 add_executable ( test_reconnect_on_tariff_change test_reconnect_on_tariff_change.cpp ../projects/stargazer/user_impl.cpp ../projects/stargazer/tariff_impl.cpp ../projects/stargazer/user_property.cpp )
-target_link_libraries ( test_reconnect_on_tariff_change logger scriptexecuter common Boost::unit_test_framework )
+target_link_libraries ( test_reconnect_on_tariff_change logger scriptexecuter common Boost::unit_test_framework Threads::Threads )
 target_include_directories ( test_reconnect_on_tariff_change PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ../projects/stargazer )
 add_test ( reconnect_on_tariff_change test_reconnect_on_tariff_change )
 
 add_executable ( test_disable_session_log test_disable_session_log.cpp ../projects/stargazer/user_impl.cpp ../projects/stargazer/tariff_impl.cpp ../projects/stargazer/user_property.cpp )
-target_link_libraries ( test_disable_session_log logger scriptexecuter common Boost::unit_test_framework )
+target_link_libraries ( test_disable_session_log logger scriptexecuter common Boost::unit_test_framework Threads::Threads )
 target_include_directories ( test_disable_session_log PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ../projects/stargazer )
 add_test ( disable_session_log test_disable_session_log )
 
 add_executable ( test_filter_params_log test_filter_params_log.cpp ../projects/stargazer/user_impl.cpp ../projects/stargazer/tariff_impl.cpp ../projects/stargazer/user_property.cpp )
-target_link_libraries ( test_filter_params_log logger scriptexecuter common Boost::unit_test_framework )
+target_link_libraries ( test_filter_params_log logger scriptexecuter common Boost::unit_test_framework Threads::Threads )
 target_include_directories ( test_filter_params_log PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ../projects/stargazer )
 add_test ( filter_params_log test_filter_params_log )