From 7e011c390a4723e9ebafdbc3c4c2e12f448ed8cd Mon Sep 17 00:00:00 2001 From: David Gambarin Date: Sun, 11 Dec 2022 09:22:16 +0200 Subject: [PATCH] fix linkage issue with boost system --- .../gradual_deployment/gradual_deployment_ut/CMakeLists.txt | 2 +- .../messaging_downloader_ut/downloader_client_ut/CMakeLists.txt | 2 +- .../messaging_downloader_ut/downloader_server_ut/CMakeLists.txt | 2 +- .../orchestration/downloader/downloader_ut/CMakeLists.txt | 2 +- .../orchestration/health_check/health_check_ut/CMakeLists.txt | 2 +- .../orchestration/modules/modules_ut/CMakeLists.txt | 2 +- .../package_handler/package_handler_ut/CMakeLists.txt | 2 +- core/messaging_buffer/messaging_buffer_ut/CMakeLists.txt | 2 +- core/rest/rest_ut/CMakeLists.txt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/gradual_deployment/gradual_deployment_ut/CMakeLists.txt b/components/gradual_deployment/gradual_deployment_ut/CMakeLists.txt index 8a9d84a..1418ef6 100644 --- a/components/gradual_deployment/gradual_deployment_ut/CMakeLists.txt +++ b/components/gradual_deployment/gradual_deployment_ut/CMakeLists.txt @@ -4,5 +4,5 @@ include_directories(${CMAKE_SOURCE_DIR}/components/include) add_unit_test( gradual_deployment_ut "gradual_deployment_ut.cc" - "singleton;rest;connkey;${RT_LIBRARY};gradual_deployment;" + "singleton;rest;connkey;${RT_LIBRARY};gradual_deployment;-lboost_system" ) diff --git a/components/messaging_downloader/messaging_downloader_ut/downloader_client_ut/CMakeLists.txt b/components/messaging_downloader/messaging_downloader_ut/downloader_client_ut/CMakeLists.txt index d2b7b97..48a57dc 100755 --- a/components/messaging_downloader/messaging_downloader_ut/downloader_client_ut/CMakeLists.txt +++ b/components/messaging_downloader/messaging_downloader_ut/downloader_client_ut/CMakeLists.txt @@ -5,5 +5,5 @@ link_directories(${CMAKE_BINARY_DIR}/core/include) add_unit_test( downloader_client_ut "downloader_client_ut.cc" - "singleton;messaging_downloader_client;time_proxy;mainloop;rest;metric;event_is;message;-lboost_context;agent_core_utilities;orchestration_modules;connkey;-lboost_regex;-lboost_filesystem" + "singleton;messaging_downloader_client;time_proxy;mainloop;rest;metric;event_is;message;-lboost_context;agent_core_utilities;orchestration_modules;connkey;-lboost_regex;-lboost_filesystem;-lboost_system" ) diff --git a/components/messaging_downloader/messaging_downloader_ut/downloader_server_ut/CMakeLists.txt b/components/messaging_downloader/messaging_downloader_ut/downloader_server_ut/CMakeLists.txt index d6fba93..214fb3c 100755 --- a/components/messaging_downloader/messaging_downloader_ut/downloader_server_ut/CMakeLists.txt +++ b/components/messaging_downloader/messaging_downloader_ut/downloader_server_ut/CMakeLists.txt @@ -5,5 +5,5 @@ link_directories(${CMAKE_BINARY_DIR}/core/include) add_unit_test( downloader_server_ut "downloader_server_ut.cc" - "singleton;messaging_downloader_server;time_proxy;mainloop;rest;metric;event_is;message;-lboost_context;agent_core_utilities;orchestration_modules;agent_details;connkey;-lboost_regex;-lboost_filesystem" + "singleton;messaging_downloader_server;time_proxy;mainloop;rest;metric;event_is;message;-lboost_context;agent_core_utilities;orchestration_modules;agent_details;connkey;-lboost_regex;-lboost_filesystem;-lboost_system" ) diff --git a/components/security_apps/orchestration/downloader/downloader_ut/CMakeLists.txt b/components/security_apps/orchestration/downloader/downloader_ut/CMakeLists.txt index a999050..65db59e 100755 --- a/components/security_apps/orchestration/downloader/downloader_ut/CMakeLists.txt +++ b/components/security_apps/orchestration/downloader/downloader_ut/CMakeLists.txt @@ -3,5 +3,5 @@ link_directories(${BOOST_ROOT}/lib) add_unit_test( downloader_ut "downloader_ut.cc" - "orchestration;orchestration_downloader;orchestration_modules;orchestration_tools;environment;config;update_communication;metric;event_is;-lcurl;-lcrypto;-lssl;-lboost_regex" + "orchestration;orchestration_downloader;orchestration_modules;orchestration_tools;environment;config;update_communication;metric;event_is;-lcurl;-lcrypto;-lssl;-lboost_regex;-lboost_system" ) diff --git a/components/security_apps/orchestration/health_check/health_check_ut/CMakeLists.txt b/components/security_apps/orchestration/health_check/health_check_ut/CMakeLists.txt index 1a63a29..f6ea8e9 100755 --- a/components/security_apps/orchestration/health_check/health_check_ut/CMakeLists.txt +++ b/components/security_apps/orchestration/health_check/health_check_ut/CMakeLists.txt @@ -3,5 +3,5 @@ link_directories(${BOOST_ROOT}/lib) add_unit_test( health_check_ut "health_check_ut.cc" - "health_check;mainloop;singleton;agent_details;config;logging;metric;event_is;health_check_manager;-lboost_regex" + "health_check;mainloop;singleton;agent_details;config;logging;metric;event_is;health_check_manager;-lboost_regex;-lboost_system" ) diff --git a/components/security_apps/orchestration/modules/modules_ut/CMakeLists.txt b/components/security_apps/orchestration/modules/modules_ut/CMakeLists.txt index c99043f..38f200f 100755 --- a/components/security_apps/orchestration/modules/modules_ut/CMakeLists.txt +++ b/components/security_apps/orchestration/modules/modules_ut/CMakeLists.txt @@ -3,5 +3,5 @@ link_directories(${BOOST_ROOT}/lib) add_unit_test( orchestration_modules_ut "orchestration_policy_ut.cc;url_parser_ut.cc;package_ut.cc;orchestration_status_ut.cc;data_ut.cc;" - "orchestration_modules;config;environment;metric;event_is;time_proxy;-lboost_regex" + "orchestration_modules;config;environment;metric;event_is;time_proxy;-lboost_regex;-lboost_system" ) diff --git a/components/security_apps/orchestration/package_handler/package_handler_ut/CMakeLists.txt b/components/security_apps/orchestration/package_handler/package_handler_ut/CMakeLists.txt index 4eb1822..c7e4299 100755 --- a/components/security_apps/orchestration/package_handler/package_handler_ut/CMakeLists.txt +++ b/components/security_apps/orchestration/package_handler/package_handler_ut/CMakeLists.txt @@ -4,5 +4,5 @@ link_directories(${BOOST_ROOT}/lib) add_unit_test( package_handler_ut "package_handler_ut.cc" - "package_handler;orchestration_tools;orchestration_modules;singleton;logging;config;metric;event_is;-lcrypto;-lboost_filesystem;-lboost_regex" + "package_handler;orchestration_tools;orchestration_modules;singleton;logging;config;metric;event_is;-lcrypto;-lboost_filesystem;-lboost_regex;-lboost_system" ) diff --git a/core/messaging_buffer/messaging_buffer_ut/CMakeLists.txt b/core/messaging_buffer/messaging_buffer_ut/CMakeLists.txt index 56ab853..eaa3fde 100644 --- a/core/messaging_buffer/messaging_buffer_ut/CMakeLists.txt +++ b/core/messaging_buffer/messaging_buffer_ut/CMakeLists.txt @@ -3,4 +3,4 @@ link_directories(${BOOST_ROOT}/lib) include_directories(${ng_module_osrc_zlib_path}/include) link_directories(${ng_module_osrc_zlib_path}/lib) -add_unit_test(messaging_buffer_ut "messaging_buffer_ut.cc" "singleton;environment;time_proxy;instance_awareness;messaging_buffer;-lz;encryptor;event_is;metric;-lboost_regex;-lboost_filesystem;-lcrypto") +add_unit_test(messaging_buffer_ut "messaging_buffer_ut.cc" "singleton;environment;time_proxy;instance_awareness;messaging_buffer;-lz;encryptor;event_is;metric;-lboost_regex;-lboost_filesystem;-lcrypto;-lboost_system") diff --git a/core/rest/rest_ut/CMakeLists.txt b/core/rest/rest_ut/CMakeLists.txt index 35e5f13..b3171dc 100755 --- a/core/rest/rest_ut/CMakeLists.txt +++ b/core/rest/rest_ut/CMakeLists.txt @@ -4,5 +4,5 @@ link_directories(${ng_module_osrc_zlib_path}/lib) add_unit_test( rest_server_ut "rest_schema_ut.cc;rest_must_param_ut.cc;rest_config_ut.cc" - "singleton;rest;environment;-lz;shell_cmd;-lboost_filesystem;message;instance_awareness;messaging_buffer;-lz;debug_is;time_proxy;mainloop;agent_details;encryptor;event_is;metric;-lboost_context;-lboost_regex;-lssl;-lcrypto;connkey" + "singleton;rest;environment;-lz;shell_cmd;-lboost_filesystem;message;instance_awareness;messaging_buffer;-lz;debug_is;time_proxy;mainloop;agent_details;encryptor;event_is;metric;-lboost_context;-lboost_regex;-lboost_system;-lssl;-lcrypto;connkey" )