From 47b7befd2fb5b006b64f73399a433a6c89eabf1c Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 24 Nov 2013 22:09:52 +0100 Subject: [PATCH] Set default build type to RelWithDebInfo. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b128c85d..eccd8149 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING + "Choose the type of build, options are: None Debug Release RelWithDebInfo Debug Debugfull Profile MinSizeRel." + FORCE) +endif() + project(KeePassX) cmake_minimum_required(VERSION 2.6.4)