Skip to content

Commit

Permalink
Fix DEBUG -> Debug when passing flags in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn committed Nov 17, 2019
1 parent 838aea0 commit 2110849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ macro(configure_tests target)

# Configure optimization options
target_compile_options(${target} PRIVATE
$<$<AND:$<CONFIG:DEBUG>,$<CXX_COMPILER_ID:Clang>>:-O0>
$<$<AND:$<CONFIG:DEBUG>,$<CXX_COMPILER_ID:GNU>>:-Og>
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:Clang>>:-O0>
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:GNU>>:-Og>
)

# Use lld or the gold linker if possible
Expand Down

0 comments on commit 2110849

Please sign in to comment.