summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKefu Chai <tchaikov@gmail.com>2023-12-15 11:04:53 +0100
committerKefu Chai <tchaikov@gmail.com>2023-12-15 11:07:35 +0100
commitc24a4c19848fefcfecbc9f706cccacf2e93b3f14 (patch)
tree53872bea1da61fc4d9f573d5fd2562a6c9afb9f6 /CMakeLists.txt
parentMerge pull request #54878 from yuvalif/wip-yuval-split-rgw-tools (diff)
downloadceph-c24a4c19848fefcfecbc9f706cccacf2e93b3f14.tar.xz
ceph-c24a4c19848fefcfecbc9f706cccacf2e93b3f14.zip
cmake: only apply workaround for boost < 1.84
https://github.com/boostorg/phoenix/issues/111 was fixed in master. see the fix which addresses the issue: https://github.com/boostorg/phoenix/commit/8913607a3788cb82d48ed461ea59c919b7bad3df Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4feb22c135e..1364426067c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -703,7 +703,7 @@ else()
endif()
include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})
-if(Boost_VERSION VERSION_EQUAL 1.81 OR Boost_VERSION VERSION_EQUAL 1.82)
+if(Boost_VERSION VERSION_LESS 1.84)
# This is a workaround for https://github.com/boostorg/phoenix/issues/111
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-DBOOST_PHOENIX_STL_TUPLE_H_>)
endif()