Skip to content

Commit 8902eb9

Browse files
authored
Merge pull request #237 from Chia-Network/EL.debug-compile-options
Use Og for debug compiling
2 parents 28c3981 + 0d396e7 commit 8902eb9

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)