All: Force build type to Release if not set

This commit is contained in:
Jeffrey Pfau 2014-12-16 00:37:04 -08:00
parent 8ee8387360
commit e81fdb5578
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ include_directories(${CMAKE_SOURCE_DIR}/src/gba)
include_directories(${CMAKE_SOURCE_DIR}/src) include_directories(${CMAKE_SOURCE_DIR}/src)
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)") set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)" FORCE)
endif() endif()
include(GNUInstallDirs) include(GNUInstallDirs)