aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-01 11:41:51 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-11-01 11:42:09 -0700
commitb54f4f26ae6c2b0944590d0de5c7fbf0d9ed38d7 (patch)
treed5004f2790491df852137fdd3cd20aa8a7fe3752 /scripts/cmake
parent2de9c9bea335b4b57ce29e2b02715d70bf25d445 (diff)
downloadvcpkg-b54f4f26ae6c2b0944590d0de5c7fbf0d9ed38d7.tar.gz
vcpkg-b54f4f26ae6c2b0944590d0de5c7fbf0d9ed38d7.zip
[blaze] Fix remaining stray _INVALID_ROOT_
Diffstat (limited to 'scripts/cmake')
-rw-r--r--scripts/cmake/vcpkg_fixup_cmake_targets.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
index ca228b2a4..22c2245c8 100644
--- a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
+++ b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
@@ -119,6 +119,7 @@ function(vcpkg_fixup_cmake_targets)
string(REPLACE "${CURRENT_INSTALLED_DIR}" "_INVALID_ROOT_" _contents "${_contents}")
string(REGEX REPLACE ";_INVALID_ROOT_/[^\";]*" "" _contents "${_contents}")
string(REGEX REPLACE "_INVALID_ROOT_/[^\";]*;" "" _contents "${_contents}")
+ string(REGEX REPLACE "\"_INVALID_ROOT_/[^\";]*\"" "\"\"" _contents "${_contents}")
file(WRITE ${MAIN_TARGET} "${_contents}")
endforeach()