mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:03:03 +08:00
fix VCPKG_CROSSCOMPILING (#17068)
This commit is contained in:
parent
a5ab7c382d
commit
e8b9eca6b1
@ -30,7 +30,7 @@ Furthermore the variables CMAKE_FIND_LIBRARY_(PREFIXES|SUFFIXES) are also define
|
||||
portfiles are able to use find_library calls to discover dependent libraries within the current triplet for ports.
|
||||
#]===]
|
||||
|
||||
string(COMPARE EQUAL "${TARGET_TRIPLET}" "${HOST_TRIPLET}" VCPKG_CROSSCOMPILING)
|
||||
string(COMPARE NOTEQUAL "${TARGET_TRIPLET}" "${HOST_TRIPLET}" VCPKG_CROSSCOMPILING)
|
||||
#Helper variable to identify the Target system. VCPKG_TARGET_IS_<targetname>
|
||||
if (NOT DEFINED VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "")
|
||||
set(VCPKG_TARGET_IS_WINDOWS ON)
|
||||
|
Loading…
Reference in New Issue
Block a user