Skip to content

Commit 4c0c68f

Browse files
authored
disabled -Wpoison-system-directoriesunconditionally on macOS (danmar#7839)
1 parent d1698b3 commit 4c0c68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compileroptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
100100
add_compile_options(-gdwarf-4)
101101
endif()
102102

103-
if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)
103+
if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
104104
add_compile_options(-Wno-poison-system-directories)
105105
endif()
106106

0 commit comments

Comments
 (0)