summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-07-23 16:35:58 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-23 17:39:39 +0200
commit58b3dd71d81910c0f87aaf95e8bc70beb07cc1dd (patch)
treea8cb20c010700db073b3f9c8b12e37444dea3ff6 /mkspecs
parent78d8c201f16374df4d5b8682f9eda2885125e1a6 (diff)
Create CMake files conditionally on the internal_module CONFIG option.
This includes a revert of 195df6e8e0ffb2636cfe395f560eb73c05a54b61 so that the solution scales better to other Qt modules, and other logic related to 'internal' modules. Change-Id: Ie4c1f10d20953aeb15438273081a810ab8bc9ec9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs')
-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 a05da5f49e..8786f77c4c 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:!isEmpty(DESTDIR):CONFIG += create_cmake
+!build_pass:!internal_module:!isEmpty(DESTDIR):CONFIG += create_cmake
contains(TARGET, QtAddOn.*): \
DEFINES += QT_BUILD_ADDON_$${ucmodule}_LIB