@@ -8,81 +8,13 @@ find_package (Threads REQUIRED)
88list (PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_BINARY_DIR} )
99list (PREPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_BINARY_DIR} )
1010
11- if (NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR} /conan.cmake" )
12- message (STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan" )
13- file (DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/0.18.1/conan.cmake"
14- "${CMAKE_CURRENT_BINARY_DIR} /conan.cmake"
15- TLS_VERIFY ON )
16- endif ()
17-
18- set (CONAN_CMAKE_SILENT_OUTPUT ON CACHE INTERNAL "" )
19- include (${CMAKE_CURRENT_BINARY_DIR} /conan.cmake)
20-
21- conan_check(VERSION 1.63.0 REQUIRED)
22-
23- # Enable revisions in the conan config
24- execute_process (COMMAND ${CONAN_CMD} config set general.revisions_enabled=1
25- RESULT_VARIABLE RET_CODE)
26- if (NOT "${RET_CODE} " STREQUAL "0" )
27- message (FATAL_ERROR "Error setting revisions for Conan: '${RET_CODE} '" )
28- endif ()
29-
30- # --------------------------------
31- # Conan dependencies
32- # --------------------------------
33-
34- conan_cmake_configure(
35- REQUIRES
36- "abseil/20220623.0@#732381dc99db29b4cfd293684891da56"
37- "boost/1.84.0@#7604ce1e7485780469dffb6430f232ea"
38- "catch2/2.13.9@#8793d3e6287d3684201418de556d98fe"
39- "flatbuffers/23.5.26@#b153646f6546daab4c7326970b6cd89c"
40- "hiredis/1.0.2@#370dad964286cadb1f15dc90252e8ef3"
41- "openssl/3.0.2@#269fa93e5afe8c34bd9a0030d2b8f0fe"
42- "protobuf/3.20.0@#8e4de7081bea093469c9e6076149b2b4"
43- "readerwriterqueue/1.0.6@#a95c8da3d68822dec4d4c13fff4b5c96"
44- "spdlog/1.10.0@#6406c337028e15e56cd6a070cbac54c4"
45- "zlib/1.2.12@#3b9e037ae1c615d045a06c67d88491ae"
46- GENERATORS
47- cmake_find_package
48- cmake_paths
49- OPTIONS
50- boost:error_code_header_only=True
51- boost:system_no_deprecated=True
52- boost:zlib=False
53- boost:bzip2=False
54- boost:lzma=False
55- boost:zstd=False
56- boost:without_locale=True
57- boost:without_log=True
58- boost:without_mpi=True
59- boost:without_python=True
60- boost:without_test=True
61- boost:without_wave=True
62- )
63-
64- conan_cmake_autodetect(FAABRIC_CONAN_SETTINGS)
65-
66- conan_cmake_install(PATH_OR_REFERENCE .
67- BUILD outdated
68- UPDATE
69- REMOTE conancenter
70- PROFILE_HOST ${CMAKE_CURRENT_LIST_DIR} /../conan-profile.txt
71- PROFILE_BUILD ${CMAKE_CURRENT_LIST_DIR} /../conan-profile.txt
72- SETTINGS ${FAABRIC_CONAN_SETTINGS}
73- )
74-
75- include (${CMAKE_CURRENT_BINARY_DIR} /conan_paths.cmake)
76-
7711find_package (absl QUIET REQUIRED)
78- find_package (Boost 1.80 .0 QUIET REQUIRED)
12+ find_package (Boost 1.84 .0 QUIET REQUIRED COMPONENTS system )
7913find_package (Catch2 QUIET REQUIRED)
80- find_package (flatbuffers QUIET REQUIRED)
14+ find_package (flatbuffers CONFIG QUIET REQUIRED)
8115find_package (fmt QUIET REQUIRED)
8216find_package (hiredis QUIET REQUIRED)
83- # 27/01/2023 - Pin OpenSSL to a specific version to avoid incompatibilities
84- # with the system's (i.e. Ubuntu 22.04) OpenSSL
85- find_package (OpenSSL 3.0.2 QUIET REQUIRED)
17+ find_package (OpenSSL 3.6.0 QUIET REQUIRED)
8618find_package (Protobuf 3.20.0 QUIET REQUIRED)
8719find_package (readerwriterqueue QUIET REQUIRED)
8820find_package (spdlog QUIET REQUIRED)
@@ -121,7 +53,7 @@ FetchContent_Declare(nng_ext
12153)
12254FetchContent_Declare(zstd_ext
12355 GIT_REPOSITORY "https://github.com/facebook/zstd"
124- GIT_TAG "v1.5.2 "
56+ GIT_TAG "v1.5.7 "
12557 SOURCE_SUBDIR "build/cmake"
12658)
12759
@@ -150,7 +82,7 @@ target_link_libraries(faabric_common_dependencies INTERFACE
15082 absl::flat_hash_map
15183 absl::strings
15284 atomic_queue::atomic_queue
153- Boost::Boost
85+ Boost::headers
15486 Boost::system
15587 flatbuffers::flatbuffers
15688 hiredis::hiredis
0 commit comments