]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Build: Enable Q_ASSERT in release mode (#5425)
authorckamm <mail@ckamm.de>
Tue, 3 Jan 2017 12:42:25 +0000 (13:42 +0100)
committerMarkus Goetz <markus@woboq.com>
Tue, 3 Jan 2017 12:42:25 +0000 (13:42 +0100)
CMakeLists.txt

index a46bb885ebbddc31b59d5fd110f12ca0e9dcc52f..a721e55e98ecf4609e93e79c3b04d66da364df6b 100644 (file)
@@ -58,6 +58,9 @@ if( UNIX AND NOT APPLE )
 endif()
 ####
 
+# Enable Q_ASSERT etc. in all builds
+add_definitions( -DQT_FORCE_ASSERTS )
+
 include(GNUInstallDirs)
 include(DefineInstallationPaths)
 include(GenerateExportHeader)