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 1ee69deffb
commit e58182c952

View File

@ -26,7 +26,7 @@ include_directories(${CMAKE_SOURCE_DIR}/src/gba)
include_directories(${CMAKE_SOURCE_DIR}/src)
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()
include(GNUInstallDirs)