vcpkg/ports/fast-cpp-csv-parser/portfile.cmake
Lily Wang 17b405bbf9
[vcpkg baseline][libcsv, fast-cpp-csv-parser] Fix conflicts (#28978)
* [baseline][libcsv, fast-cpp-csv-parser] Fix conflicts

* update version

* apply suggestion

* update version

* Update libcsv.json
2023-01-16 12:03:37 -08:00

15 lines
496 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/${PORT}")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")