mdbx-cmake: build-config MinSizeRel by default.

This commit is contained in:
Leo Yuriev 2019-09-19 16:43:16 +03:00
parent b20363d187
commit da9dc75fbc
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ endif()
find_package(Threads REQUIRED)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING
set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel."
FORCE)
endif()

View File

@ -64,7 +64,7 @@ else()
endif()
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING
set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel."
FORCE)
endif()