vcpkg/ports/libics/portfile.cmake

22 lines
693 B
CMake
Raw Normal View History

2019-02-21 06:58:33 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO svi-opensource/libics
2023-10-14 02:59:30 +08:00
REF "${VERSION}"
2024-10-08 03:09:06 +08:00
SHA512 0eba280c1174cbd0e1fe6da1502345720793df2f3f6ec31fe0043d79a31d7b79cac5d7da726891faacedc91056e6337a3a694e50d0baafa08314a2867ff3e62f
2019-02-21 06:58:33 +08:00
HEAD_REF master
2023-10-14 02:59:30 +08:00
PATCHES fix-integral-include.patch
2019-02-21 06:58:33 +08:00
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
2019-02-21 06:58:33 +08:00
)
vcpkg_cmake_install()
2019-02-21 06:58:33 +08:00
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
2019-02-21 06:58:33 +08:00
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/GNU_LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)