aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2021-03-18 15:48:57 -0700
committerGitHub <noreply@github.com>2021-03-18 15:48:57 -0700
commitabcc05fde5fc85e4df4d73c9ea44c47a031a1914 (patch)
tree17a8839d26ee4d415625a9b79f7fc848aba2e183 /scripts
parentc8f6537b80831b1bd951b764bb4fa1f1c7973d83 (diff)
downloadvcpkg-abcc05fde5fc85e4df4d73c9ea44c47a031a1914.tar.gz
vcpkg-abcc05fde5fc85e4df4d73c9ea44c47a031a1914.zip
[vcpkg_build_make] Fix interaction with Windows Detours (#16775)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cmake/vcpkg_build_make.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_build_make.cmake b/scripts/cmake/vcpkg_build_make.cmake
index 5ebfe21f7..2560f93d4 100755
--- a/scripts/cmake/vcpkg_build_make.cmake
+++ b/scripts/cmake/vcpkg_build_make.cmake
@@ -234,7 +234,7 @@ function(vcpkg_build_make)
string(REGEX REPLACE "([a-zA-Z]):/" "/\\1/" _VCPKG_INSTALL_PREFIX "${CURRENT_INSTALLED_DIR}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}_tmp")
file(RENAME "${CURRENT_PACKAGES_DIR}" "${CURRENT_PACKAGES_DIR}_tmp")
- file(RENAME "${CURRENT_PACKAGES_DIR}_tmp${_VCPKG_INSTALL_PREFIX}/" "${CURRENT_PACKAGES_DIR}")
+ file(RENAME "${CURRENT_PACKAGES_DIR}_tmp${_VCPKG_INSTALL_PREFIX}" "${CURRENT_PACKAGES_DIR}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}_tmp")
endif()