From 6fa9394c8180ca1fe14d7594f4eefd1ca0ba40c7 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 20 Jun 2013 15:59:43 +0200 Subject: Generate the directory for the mkspec include in a helper file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cmake variable for the mkspec dir must specify the source location if used in the build dir, and must specify the install location if used in the install dir. Change-Id: I2fee8cd0c7198e9fc5cbb63972e20c75636672d1 Reviewed-by: Thorbjørn Lund Martsum Reviewed-by: Stephen Kelly --- src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in (limited to 'src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in') diff --git a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in new file mode 100644 index 0000000000..706304cf34 --- /dev/null +++ b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in @@ -0,0 +1,6 @@ + +!!IF isEmpty(CMAKE_INSTALL_DATA_DIR_IS_ABSOLUTE) +set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\") +!!ELSE +set(_qt5_corelib_extra_includes \"$${CMAKE_INSTALL_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\") +!!ENDIF -- cgit v1.2.3