Skip to content

Commit 0798100

Browse files
authored
fix(clp-s): Expose msgpack-cxx publicly via clp_s_archive_reader and clp_s_archive_writer; Add CLP_NEED_MSGPACKCXX flag when enabling clp_s_clp_dependencies target. (#1055)
1 parent addc15a commit 0798100

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

components/core/cmake/Options/options.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ function(set_clp_s_clp_dependencies_dependencies)
248248
CLP_NEED_BOOST
249249
CLP_NEED_CURL
250250
CLP_NEED_FMT
251+
CLP_NEED_MSGPACKCXX
251252
CLP_NEED_NLOHMANN_JSON
252253
CLP_NEED_OPENSSL
253254
CLP_NEED_SPDLOG

components/core/src/clp_s/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ if(CLP_BUILD_CLP_S_ARCHIVEWRITER)
240240
PUBLIC
241241
absl::flat_hash_map
242242
clp_s::io
243+
msgpack-cxx
243244
nlohmann_json::nlohmann_json
244245
simdjson::simdjson
245246
PRIVATE
@@ -248,7 +249,6 @@ if(CLP_BUILD_CLP_S_ARCHIVEWRITER)
248249
clp_s::timestamp_pattern
249250
${CURL_LIBRARIES}
250251
fmt::fmt
251-
msgpack-cxx
252252
spdlog::spdlog
253253
)
254254
endif()
@@ -303,14 +303,14 @@ if(CLP_BUILD_CLP_S_ARCHIVEREADER)
303303
PUBLIC
304304
absl::flat_hash_map
305305
clp_s::io
306+
msgpack-cxx
306307
nlohmann_json::nlohmann_json
307308
PRIVATE
308309
Boost::url
309310
clp_s::clp_dependencies
310311
clp_s::timestamp_pattern
311312
${CURL_LIBRARIES}
312313
fmt::fmt
313-
msgpack-cxx
314314
spdlog::spdlog
315315
)
316316
endif()

0 commit comments

Comments
 (0)