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 e6d5699 commit 4c23d04Copy full SHA for 4c23d04
CMakeLists.txt
@@ -70,6 +70,14 @@ endif()
70
71
find_package(Threads)
72
73
+if ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin" AND "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
74
+ if (CMAKE_VERSION VERSION_EQUAL "4.0.0" AND CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "15.0.0.15000040")
75
+ # for Apple clang 15 under cmake 4.0.0, disable pedantic warnings explicitly as it fails to treat boost properly as
76
+ # system library, warnings propagate
77
+ set(PEDANTIC OFF)
78
+ endif()
79
+endif()
80
+
81
if(NOT PEDANTIC)
82
message(WARNING "-- Pedantic build flags turned off. Warnings will not make compilation fail. This is NOT recommended in development builds.")
83
endif()
0 commit comments