aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorcodicodi <rob.ceglinski@gmail.com>2017-01-14 02:15:34 +0100
committercodicodi <rob.ceglinski@gmail.com>2017-01-14 02:15:34 +0100
commitccd3e399f023129a39bb9a402324676a9391a970 (patch)
treedf3e2b8f32c98f03199d6669bed23dab833fe2db /scripts
parent912278d22d497ce344e78cb128ba4930c2ee7f55 (diff)
downloadvcpkg-ccd3e399f023129a39bb9a402324676a9391a970.tar.gz
vcpkg-ccd3e399f023129a39bb9a402324676a9391a970.zip
[glib] use win_iconv and add subdir for tools
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_copy_tool_dependencies.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cmake/vcpkg_copy_tool_dependencies.cmake b/scripts/cmake/vcpkg_copy_tool_dependencies.cmake
index d8de15207..32c3eba0d 100644
--- a/scripts/cmake/vcpkg_copy_tool_dependencies.cmake
+++ b/scripts/cmake/vcpkg_copy_tool_dependencies.cmake
@@ -1,8 +1,8 @@
-# Copy dlls for all tools in ${CURRENT_PACKAGES_DIR}/tools
+# Copy dlls for all tools in TOOL_DIR
-function(vcpkg_copy_tool_dependencies)
+function(vcpkg_copy_tool_dependencies TOOL_DIR)
macro(search_for_dependencies PATH_TO_SEARCH)
- file(GLOB TOOLS ${CURRENT_PACKAGES_DIR}/tools/*.exe ${CURRENT_PACKAGES_DIR}/tools/*.dll)
+ file(GLOB TOOLS ${TOOL_DIR}/*.exe ${TOOL_DIR}/*.dll)
foreach(TOOL ${TOOLS})
execute_process(COMMAND powershell -noprofile -executionpolicy UnRestricted -nologo
-file ${VCPKG_ROOT_DIR}/scripts/buildsystems/msbuild/applocal.ps1