vcpkg/ports/kerbal/portfile.cmake
Wentsing Nee 85ade256c8
[kerbal] Add port files for new library Kerbal (#35600)
Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
2023-12-13 23:43:11 -08:00

20 lines
550 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO WentsingNee/Kerbal
REF "v${VERSION}"
SHA512 d974fbf29ae7226a26a73db58b4c7c6c9f2e826b6524c1b861a824e85bd2c4fbdd52d1ff0c930a026fca0f795d871bac074481ac45023a25e894c23b685f784c
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH "share/cmake/Kerbal"
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")