Procházet zdrojové kódy

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 před 9 roky
rodič
revize
3c7545a45f
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  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)