aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Fitzgerald <connorwadefitzgerald@gmail.com>2019-03-16 00:39:46 -0400
committerConnor Fitzgerald <connorwadefitzgerald@gmail.com>2019-03-16 00:39:46 -0400
commitd61392b3ae23291465945cc728913d5089c6359d (patch)
tree1432e3c33fb6cf8ca10749f14701ea0722b6a76d
parent9b8e6a8be0f233f6809251b353918cf6de84695b (diff)
downloadvcpkg-d61392b3ae23291465945cc728913d5089c6359d.tar.gz
vcpkg-d61392b3ae23291465945cc728913d5089c6359d.zip
[glslang] Properly fixup cmake targets
-rw-r--r--ports/glslang/portfile.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/glslang/portfile.cmake b/ports/glslang/portfile.cmake
index f2ec0e3cd..77e15052d 100644
--- a/ports/glslang/portfile.cmake
+++ b/ports/glslang/portfile.cmake
@@ -20,8 +20,10 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+vcpkg_fixup_cmake_targets()
+
file(RENAME "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/tools")
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")