mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-12-22 14:02:24 +01:00
Properly disable debugging code in Release builds
This commit is contained in:
parent
976c690357
commit
b16f93f183
@ -13,7 +13,7 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -DNDEBUG")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g2 -Wall")
|
||||
|
||||
if(WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user