Skip to content

Commit 0d396e7

Browse files
committed
Use Og for debug compiling
1 parent f31b096 commit 0d396e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ set(CMAKE_MODULE_PATH
1919

2020
if(MSVC)
2121
add_compile_options(/EHsc)
22+
else()
23+
add_compile_options("$<$<CONFIG:Debug>:-Og>")
2224
endif()
2325

2426
if(WIN32)

0 commit comments

Comments
 (0)