aboutsummaryrefslogtreecommitdiff
path: root/scripts/get_triplet_environment.cmake
diff options
context:
space:
mode:
authorCurtis J Bezault <curtbezault@gmail.com>2019-08-20 08:47:26 -0700
committerGitHub <noreply@github.com>2019-08-20 08:47:26 -0700
commit4da95d667c8600c80b4b5731631ebb7bcbc91f1b (patch)
treefaa447f7b1beb0d784bbd353a8aa6b449ae71ba2 /scripts/get_triplet_environment.cmake
parent463a67897c8249d996f7b41cabb9ac1fb5a35af9 (diff)
downloadvcpkg-4da95d667c8600c80b4b5731631ebb7bcbc91f1b.tar.gz
vcpkg-4da95d667c8600c80b4b5731631ebb7bcbc91f1b.zip
[vcpkg]Port toolchains (#7687)
* checkpoint commit * Only set VCPKG_ENV_OVERRIDES_FILE if it exists * First pass at working port-toolchain * Update VERSION.txt * Return rvalue * Fix compilation error * Some fixes are requested by @ubsan * Fix another compilation error
Diffstat (limited to 'scripts/get_triplet_environment.cmake')
-rw-r--r--scripts/get_triplet_environment.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get_triplet_environment.cmake b/scripts/get_triplet_environment.cmake
index 0457cee9b..3b0b9fbef 100644
--- a/scripts/get_triplet_environment.cmake
+++ b/scripts/get_triplet_environment.cmake
@@ -1,6 +1,6 @@
include(${CMAKE_TRIPLET_FILE})
-if (DEFINED CMAKE_ENV_OVERRIDES_FILE)
- include(${CMAKE_ENV_OVERRIDES_FILE} OPTIONAL)
+if (DEFINED VCPKG_ENV_OVERRIDES_FILE)
+ include(${VCPKG_ENV_OVERRIDES_FILE})
endif()
# GUID used as a flag - "cut here line"