We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc786f9 commit 3969070Copy full SHA for 3969070
1 file changed
CMakeLists.txt
@@ -12,6 +12,14 @@ project(
12
LANGUAGES CXX C
13
)
14
15
+# Boost is using some deprecated built-ins which causes build errors when compiling foxy on mac.
16
+# For now disable the warnings for deprecated built-ins while using Apple's toolchains.
17
+add_compile_options(
18
+ $<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:AppleClang>>:-Wno-deprecated-builtins>
19
+ $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wno-deprecated-builtins>
20
+)
21
+
22
23
# Allow BOOST_ROOT to be set by CI without warnings.
24
if (POLICY CMP0074)
25
cmake_policy(SET CMP0074 NEW)
0 commit comments