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.
-Wpoison-system-directories
1 parent ad24c6e commit 8c80e7cCopy full SHA for 8c80e7c
CMakeLists.txt
@@ -70,6 +70,11 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
70
# use force DWARF 4 debug format since not all tools might be able to handle DWARF 5 yet - e.g. valgrind on ubuntu 20.04
71
add_compile_options(-gdwarf-4)
72
endif()
73
+ if (APPLE)
74
+ # CMake is sometimes chosing the wrong compiler on macos-* runners
75
+ # see https://github.com/actions/runner/issues/4034
76
+ add_compile_options(-Wno-poison-system-directories)
77
+ endif()
78
79
80
add_library(simplecpp_obj OBJECT simplecpp.cpp)
0 commit comments