Don't mess with the build type in GME's CMakeLists.txt

This commit is contained in:
Marisa Heit 2022-08-13 15:46:15 -05:00 committed by Christoph Oelckers
parent 8ebcd430b2
commit 4725517832

View file

@ -8,11 +8,6 @@ include (CheckCXXCompilerFlag)
# When version is changed, also change the one in gme/gme.h to match
set(GME_VERSION 0.6.2 CACHE INTERNAL "libgme Version")
# I don't plan on debugging this, so make it a release build.
if( NOT CMAKE_BUILD_TYPE MATCHES "Release" )
set( CMAKE_BUILD_TYPE "RelWithDebInfo" )
endif()
if(COMPILER_IS_GNUCXX_COMPATIBLE)
add_compile_options(-Wall -Wextra)
if(NOT PROFILE)