Skip to content

Commit

Permalink
CMake: output VCPKG_CHAINLOAD_TOOLCHAIN_FILE with cmake paths
Browse files Browse the repository at this point in the history
Change-Id: Ibde8890c30b9024aca589e892590d071b547c361
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
Morten242 committed Jun 18, 2021
1 parent d254af9 commit bccfb92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/QtToolchainHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function(qt_internal_create_toolchain_file)
endif()

if(VCPKG_CHAINLOAD_TOOLCHAIN_FILE)
file(TO_CMAKE_PATH "${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" VCPKG_CHAINLOAD_TOOLCHAIN_FILE)
list(APPEND init_vcpkg
"set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE \"${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}\")")
endif()
Expand Down

0 comments on commit bccfb92

Please sign in to comment.