Don't make the CMake file generation dependent on DESTDIR.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 24 Jul 2012 07:21:16 +0000 (09:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jul 2012 22:48:10 +0000 (00:48 +0200)
It is expected to be well defined for the CMake files to be generated
correctly, but if that stops being the case, it should fail loudly. All
of the generated CMake packages are CI tested.

Change-Id: I67c7fa6ef1fe0a019c40936cb12db282669e9ee8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
mkspecs/features/qt_module_config.prf

index 8786f77..c4dfb19 100644 (file)
@@ -129,7 +129,7 @@ linux*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
 QT += $$QT_PRIVATE
 unset(QT_PRIVATE)
 
-!build_pass:!internal_module:!isEmpty(DESTDIR):CONFIG += create_cmake
+!build_pass:!internal_module:CONFIG += create_cmake
 
 contains(TARGET, QtAddOn.*): \
     DEFINES += QT_BUILD_ADDON_$${ucmodule}_LIB