Improve CMakeLists and define Release as default build type

This commit is contained in:
2014-03-22 16:35:59 +00:00
parent 6b1de25f97
commit 54165edf8b
+2 -1
View File
@@ -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