diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-02-08 17:39:31 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-02-08 17:39:31 -0800 |
| commit | 116b1b8c66afbe11719c42d03d342bb6fe5d58b0 (patch) | |
| tree | 54e2a615689a57732c78f79da12c75f52d9ae3c3 /scripts | |
| parent | 52ebf3944d1a0aa276472f50e47de9fa61429a7c (diff) | |
| download | vcpkg-116b1b8c66afbe11719c42d03d342bb6fe5d58b0.tar.gz vcpkg-116b1b8c66afbe11719c42d03d342bb6fe5d58b0.zip | |
Reorder path alterations to generally append instead of prepend.
This solves the issue where some software bundles (git) provide multiple executables in the same folder, which can override other desired programs (link.exe).
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_configure_cmake.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_configure_cmake.cmake b/scripts/cmake/vcpkg_configure_cmake.cmake index 42570226f..85a67a401 100644 --- a/scripts/cmake/vcpkg_configure_cmake.cmake +++ b/scripts/cmake/vcpkg_configure_cmake.cmake @@ -40,7 +40,7 @@ function(vcpkg_configure_cmake) if(GENERATOR STREQUAL "Ninja") vcpkg_find_acquire_program(NINJA) get_filename_component(NINJA_PATH ${NINJA} DIRECTORY) - set(ENV{PATH} "${NINJA_PATH};$ENV{PATH}") + set(ENV{PATH} "$ENV{PATH};${NINJA_PATH}") endif() file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg) |
