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.
2 parents 443333f + a100906 commit 1c5a95dCopy full SHA for 1c5a95d
cmake/helpers.cmake
@@ -31,8 +31,7 @@ function(add_umf_target_compile_options name)
31
-Wpedantic
32
-Wempty-body
33
-Wunused-parameter
34
- $<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=always>
35
- $<$<CXX_COMPILER_ID:Clang,AppleClang>:-fcolor-diagnostics>)
+ $<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=auto>)
36
if(CMAKE_BUILD_TYPE STREQUAL "Release")
37
target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2)
38
endif()
0 commit comments