Skip to content

Commit b3307ed

Browse files
authored
Add msgpack-cxx (#53)
Progress on #51.
1 parent 5d7de8e commit b3307ed

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

math-libs/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ therock_cmake_subproject_declare(hipBLASLt
5858
amd-hip
5959
BUILD_DEPS
6060
hipBLAS-common
61+
therock-msgpack-cxx
6162
RUNTIME_DEPS
6263
hip-clr
6364
)

third-party/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# No-dep third party libraries (alphabetical)
22
add_subdirectory(boost)
33
add_subdirectory(eigen)
4+
add_subdirectory(msgpack-cxx)
45
add_subdirectory(nlohmann-json)
56
add_subdirectory(FunctionalPlus)
67

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
therock_subproject_fetch(therock-msgpack-cxx-sources
2+
CMAKE_PROJECT
3+
URL https://github.com/msgpack/msgpack-c/releases/download/cpp-7.0.0/msgpack-cxx-7.0.0.tar.gz
4+
URL_HASH SHA256=7504b7af7e7b9002ce529d4f941e1b7fb1fb435768780ce7da4abaac79bb156f
5+
)
6+
7+
therock_cmake_subproject_declare(therock-msgpack-cxx
8+
BACKGROUND_BUILD
9+
EXCLUDE_FROM_ALL
10+
EXTERNAL_SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/source"
11+
CMAKE_ARGS
12+
-DMSGPACK_USE_BOOST=OFF
13+
)
14+
therock_cmake_subproject_provide_package(
15+
therock-msgpack-cxx msgpack-cxx lib/cmake/msgpack-cxx)
16+
therock_cmake_subproject_activate(therock-msgpack-cxx)

0 commit comments

Comments
 (0)