vcpkg/ports/spirv-reflect/portfile.cmake
Mathis Logemann 611dfc1864
[spirv-tools,spirv-reflect,spirv-headers] update ports (#23822)
* update volk

* spriv

* Revert "update volk"

This reverts commit a478ebc867.

* format

* versions

* versions

* update

* versions

* refix includes?

* version

* fix header include on linux,macos

* version

* fix cmake fixup

* fix

* version

* build shared

* version

* fix opt name

* version

* fix name...

* version

* change version to match sdk distribution version

* spirv-header version

* spirv reflect version
2022-04-07 07:52:15 -07:00

23 lines
733 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/SPIRV-Reflect
REF sdk-1.3.204.1
SHA512 af0bfcb7a8565cbd981034900760d304792e9dfb0a166b712e3506475fdeff282e0ba0f02d82d671ee05e7ed0792815eba654b66af0739404bf38c9e12ebf4f5
HEAD_REF master
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/spirv-reflect" RENAME copyright)