vcpkg/ports/rapidcsv/portfile.cmake

17 lines
491 B
CMake
Raw Normal View History

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO d99kris/rapidcsv
REF v8.50
SHA512 97eb3eb8e2bbd45d128a73129825b0ce28bf36db14ae21f759b46fefce98980743397e1d34df58cb48707cde0fea9b092438d7720bf67a40e8cd5f289395ba40
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)