aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-06-28 18:34:25 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-06-28 18:34:25 -0700
commitad9b4b2ee12c5a1c86cc7b99f9cdf0373d631b11 (patch)
tree31a362b129b0255bbfd5b899f307e7ddb5c67ab1 /scripts
parent7b5563f5f8f006cdb7b0e0c8b48cd08734c3a279 (diff)
parent9c2c350c89fd9a850fe5aaaa0965338ddfc815f6 (diff)
downloadvcpkg-ad9b4b2ee12c5a1c86cc7b99f9cdf0373d631b11.tar.gz
vcpkg-ad9b4b2ee12c5a1c86cc7b99f9cdf0373d631b11.zip
Merge https://github.com/Microsoft/vcpkg into apr-util
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_fixup_cmake_targets.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
index c56b96ccc..6fa096cbd 100644
--- a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
+++ b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
@@ -73,7 +73,9 @@ function(vcpkg_fixup_cmake_targets)
"${DEBUG_SHARE}/*[Cc]onfigVersion.cmake"
"${DEBUG_SHARE}/*[Cc]onfig-version.cmake"
)
- file(REMOVE ${UNUSED_FILES})
+ if(UNUSED_FILES)
+ file(REMOVE ${UNUSED_FILES})
+ endif()
file(GLOB RELEASE_TARGETS
"${RELEASE_SHARE}/*[Tt]argets-release.cmake"