]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
pv::prop::String: Do not create a widget if the initial value could not be retrieved
[pulseview.git] / CMakeLists.txt
index 2ba907af96be14167535429551873a751d639c04..a0c0803622e0b702f60e6fbcb89245f9d885b6bf 100644 (file)
@@ -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
 #-------------------------------------------------------------------------------