CMakeLists.txt: Debug flag "-Og" instead of "-O0"

This commit is contained in:
Stephen Seo 2024-03-20 16:20:13 +09:00
parent 3b0a5ab7dd
commit d5d722022c

View file

@ -12,7 +12,7 @@ set(blueNoiseGen_SOURCES
add_compile_options(
-Wall -Wextra -Wpedantic
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
$<$<CONFIG:DEBUG>:-O0>
$<$<CONFIG:DEBUG>:-Og>
)
if(NOT DEFINED CMAKE_BUILD_TYPE OR NOT CMAKE_BUILD_TYPE)