X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=CMakeLists.txt;h=a0c0803622e0b702f60e6fbcb89245f9d885b6bf;hb=552f686eee3b9cc12304becdc4348ad1018870ae;hp=2ba907af96be14167535429551873a751d639c04;hpb=f352b9bbeafc33fab0d003573b86ceed17565b5e;p=pulseview.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ba907a..a0c0803 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 #-------------------------------------------------------------------------------