X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=a0c0803622e0b702f60e6fbcb89245f9d885b6bf;hp=2ba907af96be14167535429551873a751d639c04;hb=552f686eee3b9cc12304becdc4348ad1018870ae;hpb=f352b9bbeafc33fab0d003573b86ceed17565b5e diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ba907af..a0c08036 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,12 @@ if(WIN32) set(ENABLE_SIGNALS FALSE) endif() +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING + "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." + FORCE) +endif() + #=============================================================================== #= Dependencies #-------------------------------------------------------------------------------