From da9dc75fbcb596dc3503c9897c2482d9e7561028 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Thu, 19 Sep 2019 16:43:16 +0300 Subject: [PATCH] mdbx-cmake: build-config MinSizeRel by default. --- CMakeLists.dist-minimal | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.dist-minimal b/CMakeLists.dist-minimal index f9307099..90157bc1 100644 --- a/CMakeLists.dist-minimal +++ b/CMakeLists.dist-minimal @@ -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() diff --git a/CMakeLists.txt b/CMakeLists.txt index bd837af4..97c756d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()