vcpkg/ports/vsg/portfile.cmake
Connor Broyles d5952607f3
[vsg] New port (VulkanSceneGraph) (#31300)
* [vsg] New port (VulkanSceneGraph)

* [vsg] Fix deprecated function usage

* [vsg] Remove redundant linkage specification

* [vsg] Devendor glslang

* [vsg] Remove DISABLE_PARALLEL_CONFIGURE flag
2023-05-08 17:12:23 -07:00

18 lines
651 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vsg-dev/VulkanSceneGraph
REF "v${VERSION}"
SHA512 da5c9448da6bd2bd6edcb82ed1ac67aded9c3fd957fb7d3c78bb741d8993a5e90b134433237a63bf1a6eb23b30a1e6b4ea2115416f8d32464bd04925d8dbcd34
HEAD_REF master
PATCHES devendor-glslang.patch
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "vsg" CONFIG_PATH "lib/cmake/vsg")
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")