Skip to content

Commit

Permalink
Merge pull request #572 from tpaviot/review/CMakeBuildTypeOption
Browse files Browse the repository at this point in the history
Added CMAKE_BUILD_TYPE property
  • Loading branch information
QbProg committed Sep 21, 2015
2 parents 1bd339f + a5b9593 commit c763938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -69,7 +69,8 @@ message(STATUS "Build ${BIT}bit")

if(NOT CMAKE_CONFIGURATION_TYPES)
if(CMAKE_BUILD_TYPE STREQUAL "")
set( CMAKE_BUILD_TYPE "Release" CACHE INTERNAL "Build type, immutable" FORCE )
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the build type." FORCE)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Release" "Debug" "RelWithDebInfo" "MinSizeRel")
endif(CMAKE_BUILD_TYPE STREQUAL "")
endif(NOT CMAKE_CONFIGURATION_TYPES)

Expand Down

0 comments on commit c763938

Please sign in to comment.