vcpkg/ports/vsg/portfile.cmake
2023-08-21 11:45:41 -07:00

18 lines
651 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vsg-dev/VulkanSceneGraph
REF "v${VERSION}"
SHA512 e88b2e665dbd2ea13e5b104c4bad1f30b32c64c0b97c085576916410e9abe246d61958e44cf46ec87ce2fcbe9399569817a44787697811aeb95081bab7d4f5bc
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")