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 7bced74 commit 153c7e4Copy full SHA for 153c7e4
runtimes/cmake/Modules/WarningFlags.cmake
@@ -2,7 +2,7 @@ include(HandleFlags)
2
3
# Warning flags ===============================================================
4
function(cxx_add_warning_flags target enable_werror enable_pedantic)
5
- target_compile_definitions(${target} PUBLIC -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+ target_compile_definitions(${target} PRIVATE -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
6
if (MSVC)
7
# -W4 is the cl.exe/clang-cl equivalent of -Wall. (In cl.exe and clang-cl,
8
# -Wall is equivalent to -Weverything in GCC style compiler drivers.)
0 commit comments