Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
3c7545a45f
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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)