summaryrefslogtreecommitdiffstats
path: root/cmake/qt.toolchain.cmake.in
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-06-26 12:39:05 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-06-26 11:38:01 +0000
commit1a8799bfdddbe45392fb6524ae21c1ab39df74e1 (patch)
tree122903088a4a0033e83b70eb6b5bd3ead079606c /cmake/qt.toolchain.cmake.in
parent8c60782124aa7fe54ade1f67bd85b11068735314 (diff)
Fix osx deployment target and sysroot propagation in the qt toolchain
We need to save them in the toolchain file, otherwise we can't compile anything :) Change-Id: Ic5c53524fa4aa05d0b3229c2905dff92ca437ec1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'cmake/qt.toolchain.cmake.in')
-rw-r--r--cmake/qt.toolchain.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in
index d816e1dcc9..22bfe6baec 100644
--- a/cmake/qt.toolchain.cmake.in
+++ b/cmake/qt.toolchain.cmake.in
@@ -1,6 +1,8 @@
list(APPEND CMAKE_PREFIX_PATH "@CMAKE_INSTALL_PREFIX@")
list(APPEND CMAKE_FIND_ROOT_PATH "@CMAKE_INSTALL_PREFIX@")
+@init_platform@
+
@init_qt_host_path@
@init_original_toolchain_file@