Browse Source

CMake: Don't force-enable asserts #5429

Should be safer now that we've gone through asserts and assured that
one ones that should be fatal continue to exist in release builds
independently of QT_NO_DEBUG.
Christian Kamm 9 years ago
parent
commit
3c7545a45f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      CMakeLists.txt

+ 0 - 3
CMakeLists.txt

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