CMakeLists.txt: Debug flag "-Og" instead of "-O0"
This commit is contained in:
parent
3b0a5ab7dd
commit
d5d722022c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ set(blueNoiseGen_SOURCES
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-Wall -Wextra -Wpedantic
|
-Wall -Wextra -Wpedantic
|
||||||
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
|
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
|
||||||
$<$<CONFIG:DEBUG>:-O0>
|
$<$<CONFIG:DEBUG>:-Og>
|
||||||
)
|
)
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_BUILD_TYPE OR NOT CMAKE_BUILD_TYPE)
|
if(NOT DEFINED CMAKE_BUILD_TYPE OR NOT CMAKE_BUILD_TYPE)
|
||||||
|
|
Loading…
Reference in a new issue