set default cmake build type to RelWithDebInfo

Which is the only sensible default. Should have been upstream default,
really.
This commit is contained in:
Aliaksei Kandratsenka 2024-09-30 12:23:28 -04:00
parent feb43df6ae
commit 9d58d03fa4
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ cmake_minimum_required(VERSION 3.12)
# Based on configure.ac
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose the build type")
project(gperftools VERSION 2.16 LANGUAGES C CXX
DESCRIPTION "Performance tools for C++"
HOMEPAGE_URL https://github.com/gperftools/gperftools)