From 4cfe432cad1f6ec91cfd2add6cbbdf17f9645bec Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Wed, 4 Sep 2019 14:00:35 +0800 Subject: [PATCH] change default CMAKE_BUILD_TYPE to Release (#18234) test=develop --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0da4bbec2f..8d1c3d4913b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,7 +92,7 @@ set(PYBIND11_PYTHON_VERSION ${PY_VERSION}) # CMAKE_BUILD_TYPE if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING + set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel" FORCE) endif() -- GitLab