Update debug optimization flag
This commit is contained in:
parent
c03eae1c15
commit
bf84a1f2d4
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ set(UDPC_SOURCES
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-Wall -Wextra -Wpedantic -Wno-missing-braces
|
-Wall -Wextra -Wpedantic -Wno-missing-braces
|
||||||
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
|
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
|
||||||
$<$<CONFIG:DEBUG>:-O0>
|
$<$<CONFIG:DEBUG>:-Og>
|
||||||
)
|
)
|
||||||
|
|
||||||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||||
|
|
Loading…
Reference in a new issue