summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_module_config.prf
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-07-24 09:21:16 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-25 00:48:10 +0200
commita5b029049771df1bdb01d5d8cf7e9e4bc964060f (patch)
tree1fd59708f788231dd2478dfee8932c81dc7d15a3 /mkspecs/features/qt_module_config.prf
parenta31ac11d98e4139a6b9d4c3acff6d9e2685f5b17 (diff)
Don't make the CMake file generation dependent on DESTDIR.
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>
Diffstat (limited to 'mkspecs/features/qt_module_config.prf')
-rw-r--r--mkspecs/features/qt_module_config.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_module_config.prf b/mkspecs/features/qt_module_config.prf
index 8786f77c4c..c4dfb193fe 100644
--- a/mkspecs/features/qt_module_config.prf
+++ b/mkspecs/features/qt_module_config.prf
@@ -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