aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Spencer <jon@jonspencer.ca>2019-02-15 10:57:37 -0800
committerCodiferous <44823842+Codiferous@users.noreply.github.com>2019-02-15 10:57:37 -0800
commit04263dd7a435030e2e87b0ab12432d14a0747c5c (patch)
tree48166721e6883a3dd5d4d1ec628ec77308ff69cc
parentf9c461cecea07a7cee49547074447fa90e9ea9e9 (diff)
downloadvcpkg-04263dd7a435030e2e87b0ab12432d14a0747c5c.tar.gz
vcpkg-04263dd7a435030e2e87b0ab12432d14a0747c5c.zip
[spirv-tools] install executables on linux and macos (#5373)
-rw-r--r--ports/spirv-tools/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/spirv-tools/portfile.cmake b/ports/spirv-tools/portfile.cmake
index 11d332a39..bbfdbf242 100644
--- a/ports/spirv-tools/portfile.cmake
+++ b/ports/spirv-tools/portfile.cmake
@@ -33,7 +33,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(GLOB EXES "${CURRENT_PACKAGES_DIR}/bin/*.exe")
+file(GLOB EXES "${CURRENT_PACKAGES_DIR}/bin/*${CMAKE_EXECUTABLE_SUFFIX}")
file(COPY ${EXES} DESTINATION ${CURRENT_PACKAGES_DIR}/tools)
file(REMOVE ${EXES})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)