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>
bb10
Stephen Kelly 2012-07-24 09:21:16 +02:00 committed by Qt by Nokia
parent a31ac11d98
commit a5b0290497
1 changed files with 1 additions and 1 deletions

View 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