mapcreator git · master
SDL3 2.5D game and engine using assets, with map editor
C++ 99.3%git clone https://git.christianimmanuel.de/sdl-graphics/mapcreator.gitwget https://git.christianimmanuel.de/sdl-graphics/mapcreator/archive/mapcreator.tar.gz..
CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59ebc1a..553168d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,8 +31,8 @@ target_link_libraries(map_editor target_compile_options(map_editor PRIVATE -Wall -Wextra) if(ENABLE_DEBUG STREQUAL "NOOPT") - target_compile_options(map_editor PRIVATE -O0) - target_compile_definitions(map_editor PRIVATE DEBUG_BUILD) + target_compile_options(map_editor PRIVATE -g -O0) + target_compile_definitions(map_editor PRIVATE) elseif(ENABLE_DEBUG STREQUAL "DEBUG") set(CMAKE_BUILD_TYPE Debug CACHE STRING "Build type" FORCE)