Skip to content

Commit 1cd7045

Browse files
committed
Remove disable pedantic mode switch for osx cmake 4.0.0 and clang 15.0.0
1 parent 4f23c18 commit 1cd7045

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Diff for: CMakeLists.txt

-8
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ endif()
7070

7171
find_package(Threads)
7272

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-
8173
if(NOT PEDANTIC)
8274
message(WARNING "-- Pedantic build flags turned off. Warnings will not make compilation fail. This is NOT recommended in development builds.")
8375
endif()

0 commit comments

Comments
 (0)