Improve CMakeLists and define Release as default build type
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user