mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 10:03:02 +08:00
Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES (#8533)
* Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES to respect already set values closes #8506 * ws change to trigger full rebuild
This commit is contained in:
parent
386d5c9509
commit
f8cfe6c164
@ -283,7 +283,7 @@ if(NOT _CMAKE_IN_TRY_COMPILE)
|
||||
"set(_VCPKG_ROOT_DIR \"${_root_dir}\" CACHE STRING \"\")\n"
|
||||
)
|
||||
else()
|
||||
set(CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
|
||||
list(APPEND CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
|
||||
VCPKG_TARGET_TRIPLET
|
||||
VCPKG_APPLOCAL_DEPS
|
||||
VCPKG_CHAINLOAD_TOOLCHAIN_FILE
|
||||
|
@ -179,4 +179,4 @@ function(vcpkg_fixup_cmake_targets)
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user