Skip to content

Commit 2110849

Browse files
committed
Fix DEBUG -> Debug when passing flags in CMake
1 parent 838aea0 commit 2110849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ macro(configure_tests target)
4646

4747
# Configure optimization options
4848
target_compile_options(${target} PRIVATE
49-
$<$<AND:$<CONFIG:DEBUG>,$<CXX_COMPILER_ID:Clang>>:-O0>
50-
$<$<AND:$<CONFIG:DEBUG>,$<CXX_COMPILER_ID:GNU>>:-Og>
49+
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:Clang>>:-O0>
50+
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:GNU>>:-Og>
5151
)
5252

5353
# Use lld or the gold linker if possible

0 commit comments

Comments
 (0)