@@ -3,8 +3,17 @@ message(STATUS "visor-core")
33
44set_directory_properties (PROPERTIES CORRADE_USE_PEDANTIC_FLAGS ON )
55
6- #generate cpp code from opentelemetry-proto
76find_package (Protobuf REQUIRED )
7+ find_package (fmt REQUIRED )
8+ find_package (httplib REQUIRED )
9+ find_package (maxminddb REQUIRED )
10+ find_package (fast-cpp-csv-parser REQUIRED )
11+ find_package (OpenSSL REQUIRED )
12+ find_package (spdlog REQUIRED )
13+ find_package (yaml-cpp REQUIRED )
14+ find_package (Catch2 REQUIRED )
15+
16+ #generate cpp code from opentelemetry-proto
817find_program (PROTOBUF_PROTOC_EXECUTABLE NAMES protoc PATHS ${CONAN_BIN_DIRS_PROTOBUF} )
918set (OTELCPP_PROTO_PATH ${CONAN_OPENTELEMETRY-PROTO_ROOT}/res)
1019set (BUILD_SHARED_LIBS FALSE )
@@ -40,16 +49,14 @@ target_link_libraries(visor-core
4049 rng
4150 timer
4251 opentelemetry_proto
43- ${CONAN_LIBS_PROTOBUF}
44- ${CONAN_LIBS_ABSEIL}
45- ${CONAN_LIBS_LIBMAXMINDDB}
46- ${CONAN_LIBS_CORRADE}
47- ${CONAN_LIBS_SPDLOG}
48- ${CONAN_LIBS_FMT}
49- ${CONAN_LIBS_FAST-CPP-CSV-PARSER}
50- ${CONAN_LIBS_YAML-CPP}
51- ${CONAN_LIBS_OPENSSL}
52- ${CONAN_LIBS_ZLIB}
52+ protobuf::libprotobuf
53+ maxminddb::maxminddb
54+ Corrade::Corrade
55+ spdlog::spdlog
56+ fmt::fmt
57+ fast-cpp-csv-parser::fast-cpp-csv-parser
58+ yaml-cpp::yaml-cpp
59+ OpenSSL::SSL
5360 ${VISOR_STATIC_PLUGINS}
5461 )
5562
@@ -77,7 +84,7 @@ target_link_libraries(unit-tests-visor-core
7784 PRIVATE
7885 Visor::Core
7986 ${VISOR_STATIC_PLUGINS}
80- ${CONAN_LIBS_CATCH2} )
87+ catch2::catch2_with_main )
8188
8289add_test (NAME unit-tests-visor-core
8390 WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} /src
0 commit comments