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 da533a1 commit 481b89eCopy full SHA for 481b89e
cmake/DaemonFlags.cmake
@@ -695,8 +695,4 @@ endif()
695
696
# Configuration specific definitions
697
698
-# This stupid trick to define THIS_IS_NOT_A_DEBUG_BUILD (rather than nothing) in the non-debug case
699
-# is so that it doesn't break the hacky gcc/clang PCH code which reads all the definitions
700
-# and prefixes "-D" to them.
701
-set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
702
- $<$<NOT:${DEBUG_GENEXP_COND}>:THIS_IS_NOT_A_>DEBUG_BUILD)
+set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<${DEBUG_GENEXP_COND}:DEBUG_BUILD>)
0 commit comments