CMake: build with debug info

This commit is contained in:
李通洲
2023-06-09 22:38:55 +08:00
parent be60eaf7c8
commit 8b285af276
+1 -1
View File
@@ -82,7 +82,7 @@ option(SET_TWEAK "Add tweak to project version" ON) # This is set to off by gith
####################
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_BUILD_TYPE RelWithDebInfo)
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")