mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
27 lines
845 B
Diff
27 lines
845 B
Diff
diff --git a/src/pybind/CMakeLists.txt b/src/pybind/CMakeLists.txt
|
|
index cd9b27623d2..12688ad32b9 100644
|
|
--- a/src/pybind/CMakeLists.txt
|
|
+++ b/src/pybind/CMakeLists.txt
|
|
@@ -36,6 +36,10 @@ execute_process(
|
|
OUTPUT_VARIABLE "PYTHON3_INSTDIR"
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
|
|
+if(Boost_VERSION VERSION_GREATER_EQUAL 1.74)
|
|
+ add_definitions(-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
|
+endif()
|
|
+
|
|
install(FILES
|
|
ceph_argparse.py
|
|
ceph_daemon.py
|
|
diff --git a/src/test/librados/CMakeLists.txt b/src/test/librados/CMakeLists.txt
|
|
index fc033766cc4..0ba3bc56e98 100644
|
|
--- a/src/test/librados/CMakeLists.txt
|
|
+++ b/src/test/librados/CMakeLists.txt
|
|
@@ -1,3 +1,6 @@
|
|
+
|
|
+add_definitions(-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
|
+
|
|
# radostest
|
|
add_library(radostest_shared OBJECT test_shared.cc)
|
|
target_include_directories(radostest_shared PRIVATE
|