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 2449c51 commit dac7404Copy full SHA for dac7404
CMakeLists.txt
@@ -76,10 +76,13 @@ else()
76
-Wshadow -Wstrict-aliasing -Wstrict-aliasing=3 -Wuninitialized
77
-Wunused-const-variable=2 -Wwrite-strings -Wlogical-op
78
-Wno-missing-include-dirs -Wno-undef
79
- -fconcepts
80
)
81
target_link_options(cpputils PRIVATE -fuse-ld=gold)
82
+ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
83
+ target_compile_options(-fconcepts)
84
+ endif()
85
+
86
# Add defines based on configuration
87
target_compile_definitions(cpputils PRIVATE
88
"$<$<CONFIG:Release>:NDEBUG=1>"
0 commit comments