From e5bc14f89e6dce20b3099ecffe1ab4a61acb1085 Mon Sep 17 00:00:00 2001 From: Denis Glazachev Date: Wed, 24 Nov 2021 14:43:13 +0400 Subject: [PATCH] By default, build RelWithDebInfo variant --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7087bde7..707c173e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,8 @@ PROJECT (CLICKHOUSE-CLIENT) USE_CXX17 () USE_OPENSSL () - IF ("${CMAKE_BUILD_TYPE}" STREQUAL "") - SET (CMAKE_BUILD_TYPE "Debug") + IF (NOT CMAKE_BUILD_TYPE) + SET (CMAKE_BUILD_TYPE "RelWithDebInfo") ENDIF () IF (UNIX)