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}"
SHA512 290d6d7bd3f5611d0b46aa6406ef10449ee768bc14d0b34f0bb365ca46f98b7fd4065c94fd9594e357427a4d0644f2724a1f773c7f3b43adc3db2389b94ee88e
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)