diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-06-21 16:45:37 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-06-24 14:23:22 +0000 |
commit | a39a0e5419b6b23721ee847f32d9668eb3c2220a (patch) | |
tree | 008d2fcdd4de59763bdbde99f10e973680600e1d /qmake/CMakeLists.txt | |
parent | 2895f3ffaa632f129232f70564a16f202ead0bda (diff) |
Fix build of modules outside of QtBase when cross-compiling
The Qt::Platform target includes the mkspecs/$spec directory, which we
must unconditionally install as long as we use it.
Change-Id: I272650a887b5b0b3bd868524784dca65b76b02d9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'qmake/CMakeLists.txt')
-rw-r--r-- | qmake/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt index 7146776d67..438f21d767 100644 --- a/qmake/CMakeLists.txt +++ b/qmake/CMakeLists.txt @@ -1,13 +1,5 @@ # Generated from qmake.pro. -# special case begin -set(path_component "${INSTALL_DATADIR}") -qt_path_join(mkspecs_install_dir ${QT_INSTALL_DIR} ${path_component}) - -qt_copy_or_install(DIRECTORY "${PROJECT_SOURCE_DIR}/mkspecs" - DESTINATION ${mkspecs_install_dir}) -# special case end - ##################################################################### ## qmake Binary: ##################################################################### |