Use the new QMAKE_XSPEC to get the mkspec.

Change-Id: I7f307ffe0954464f68192f9f3781bdb206f87809
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
Stephen Kelly 2012-10-29 15:16:51 +01:00 committed by The Qt Project
parent 7d20f3dd10
commit b94cfa4236
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ static|staticlib:CMAKE_STATIC_TYPE = true
contains(QT_CONFIG, reduce_relocations):CMAKE_ADD_FPIE_FLAGS = "true"
CMAKE_MKSPEC = $$relative_path($$QMAKESPEC, $$[QT_HOST_DATA/get]/mkspecs)
CMAKE_MKSPEC = $$[QMAKE_XSPEC]
macx {
!isEmpty(CMAKE_STATIC_TYPE) {