vcpkg/ports/fast-cpp-csv-parser/portfile.cmake
Rémi Bédard-Couture bc28e2f577
[fast-cpp-csv-parser ] Update to the latest commit: Fixes compiler warnings (#15943)
* Update port to latest commit: Fixes compiler warnings

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-02-01 19:27:07 -08:00

15 lines
520 B
CMake

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ben-strasser/fast-cpp-csv-parser
REF 75600d0b77448e6c410893830df0aec1dbacf8e3
SHA512 aab418e98eb895dabd6369b186b7a55beddb84b89e358395a9f125829074916eff9086d80f9cd342d1bfd91acacc7103875c970a84164b75fff259cc93729285
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/csv.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)