2022-11-30 05:10:37 +08:00
|
|
|
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO cppfastio/fast_io
|
2024-07-11 23:55:04 +08:00
|
|
|
REF 621b461a12af1d4c52d867127753b2bc0b60f946
|
|
|
|
SHA512 bdc651a06071d5e9b043d0295396351ef05552e98f80161f6026b0ba32ff6f65397cd95daa1da47e4811b2eb94c12a7d0dd47219385b7278e668bb117128f774
|
2022-11-30 05:10:37 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-08-04 21:46:28 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
|
|
|
|
2022-11-30 05:10:37 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
2023-08-04 21:46:28 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
2022-11-30 05:10:37 +08:00
|
|
|
|
2023-08-04 21:46:28 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")
|