From e81fdb5578223b90d721367d90078030d5cc054d Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 16 Dec 2014 00:37:04 -0800 Subject: [PATCH] All: Force build type to Release if not set --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 141d0b35b..18f3ba0bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)