diff --git a/bundles/remote_services/topology_manager/tms_tst/CMakeLists.txt b/bundles/remote_services/topology_manager/tms_tst/CMakeLists.txt index 9a12de3df..140e05c4f 100644 --- a/bundles/remote_services/topology_manager/tms_tst/CMakeLists.txt +++ b/bundles/remote_services/topology_manager/tms_tst/CMakeLists.txt @@ -16,6 +16,8 @@ # under the License. find_package(CURL REQUIRED) +find_package(civetweb REQUIRED) +find_package(libffi REQUIRED) include_directories( ${PROJECT_SOURCE_DIR}/framework/public/include @@ -44,6 +46,8 @@ target_link_libraries(test_tm_scoped PRIVATE calculator_api Celix::rsa_common CURL::libcurl + civetweb::civetweb + libffi::libffi ) add_celix_bundle_dependencies(test_tm_scoped Celix::rsa_dfi Celix::rsa_topology_manager calculator topology_manager_disc_mock_bundle topology_manager_test_bundle) diff --git a/bundles/remote_services/topology_manager/tms_tst/main.cc b/bundles/remote_services/topology_manager/tms_tst/main.cc index 553dfa531..9b7f7645d 100644 --- a/bundles/remote_services/topology_manager/tms_tst/main.cc +++ b/bundles/remote_services/topology_manager/tms_tst/main.cc @@ -18,12 +18,15 @@ */ #include +#include #include int main(int argc, char **argv) { curl_global_init(CURL_GLOBAL_ALL); + mg_init_library(MG_FEATURES_ALL); ::testing::InitGoogleTest(&argc, argv); int rc = RUN_ALL_TESTS(); + mg_exit_library(); curl_global_cleanup(); return rc; } \ No newline at end of file