From 54165edf8be620f76f12ad9dcc9b32145cb6588d Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 22 Mar 2014 16:35:59 +0000 Subject: [PATCH] Improve CMakeLists and define Release as default build type --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d2058e..26d7992 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,11 +39,12 @@ FILE( GLOB RESOURCES_FILES ${RSC_DIR}/*.qrc ) ###################################################################################### # Variables ###################################################################################### -ADD_OPTION(CMAKE_BUILD_TYPE "Build type" Debug ) +ADD_OPTION(CMAKE_BUILD_TYPE "Build type" "Release" ) ADD_OPTION(USE_QT4 "Build with QT4" OFF ) ADD_OPTION(USE_OPENCV "Add OpenCV support" OFF ) ADD_OPTION(USE_FFMPEG "Add FFMPEG support" OFF ) +SET(CMAKE_BUILD_TYPE Release) ###################################################################################### # Dependencies