diff options
| author | codicodi <rob.ceglinski@gmail.com> | 2017-01-14 02:59:41 +0100 |
|---|---|---|
| committer | codicodi <rob.ceglinski@gmail.com> | 2017-01-14 02:59:41 +0100 |
| commit | f5a0a64e44b885fae8d17b811ee3d3f623ffac3e (patch) | |
| tree | df95950598e51879d5143067a4e1e90918dbfd18 /scripts/cmake | |
| parent | eb7ccc1223f568d6d2df21b27eb890be93bc8186 (diff) | |
| download | vcpkg-f5a0a64e44b885fae8d17b811ee3d3f623ffac3e.tar.gz vcpkg-f5a0a64e44b885fae8d17b811ee3d3f623ffac3e.zip | |
[glib] tooools
Diffstat (limited to 'scripts/cmake')
| -rw-r--r-- | scripts/cmake/vcpkg_copy_tool_dependencies.cmake | 6 |
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..432e3c12a 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 |
