vcpkg/ports/rapidcsv/portfile.cmake
2024-08-28 23:15:11 -07:00

17 lines
505 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO d99kris/rapidcsv
REF "v${VERSION}"
SHA512 1bf6c74f4c2a5f2524cb174a5c67c655678eb849217e4ee38b3c10a5361b85734161ce91509882c424a3ad691b72cd211cad9a471afa370cf307fad8f9a14df7
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)