mirror of https://github.com/mgba-emu/mgba.git
All: Force build type to Release if not set
This commit is contained in:
parent
8ee8387360
commit
e81fdb5578
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue