Made "Debug" the default build type so we get -g flags

release/4.3a0
Richard Roberts 2009-11-27 20:27:05 +00:00
parent f3e825767b
commit 674d35855b
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ cmake_policy(PUSH)
cmake_minimum_required(VERSION 2.6)
# Set the default install prefix
set(CMAKE_INSTALL_PREFIX "$ENV{HOME}" CACHE PATH "Installation prefix" FORCE)
set(CMAKE_INSTALL_PREFIX "$ENV{HOME}" CACHE PATH "Installation prefix")
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type, Debug or Release")
# Add borg libraries and includes
include_directories("${CMAKE_INSTALL_PREFIX}/include")