1a8799bfdd
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
21 lines
460 B
CMake
21 lines
460 B
CMake
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@
|
|
|
|
@init_vcpkg@
|
|
|
|
if(qt_chainload_toolchain_file)
|
|
include("${qt_chainload_toolchain_file}")
|
|
unset(qt_chainload_toolchain_file)
|
|
endif()
|
|
|
|
if(QT_HOST_PATH)
|
|
list(APPEND CMAKE_PREFIX_PATH "${QT_HOST_PATH}")
|
|
list(APPEND CMAKE_FIND_ROOT_PATH "${QT_HOST_PATH}")
|
|
endif()
|