vcpkg/ports/stormlib/portfile.cmake

21 lines
667 B
CMake
Raw Normal View History

2019-05-14 01:12:59 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ladislav-zezula/StormLib
REF "v${VERSION}"
2024-06-11 07:22:04 +08:00
SHA512 5f0ce75019cfbe3a2dfc07ea312825e2babf226dbf8aa77ed60456862ae739ac4689cbe7d4a185cdc148ad9910fd8137d3f11c04ffe6c532bbdacb08838ecfba
2019-05-14 01:12:59 +08:00
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
2019-05-14 01:12:59 +08:00
)
vcpkg_cmake_install()
2024-06-11 07:22:04 +08:00
vcpkg_cmake_config_fixup(PACKAGE_NAME StormLib)
vcpkg_copy_pdbs()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2024-06-11 07:22:04 +08:00
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")