aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-27 11:25:05 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-06-27 11:25:05 -0700
commitb88dedb7b5fbcbb21b49ed0b2771bfe3c2f063a7 (patch)
treebe49a36f12be98fd25e6c32767f359cc96fbbdd0 /scripts
parent0174fa8e0e692148a51aa03d146c36e8d27a69ac (diff)
parente8f819e04e6aed6327537f954a9eda02fca49d1a (diff)
downloadvcpkg-b88dedb7b5fbcbb21b49ed0b2771bfe3c2f063a7.tar.gz
vcpkg-b88dedb7b5fbcbb21b49ed0b2771bfe3c2f063a7.zip
Merge branch 'fix-dlib'
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"