mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 08:01:37 +08:00
20 lines
552 B
CMake
20 lines
552 B
CMake
|
# Header-only library
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO chusitoo/flatbush
|
||
|
REF "v${VERSION}"
|
||
|
SHA512 2d1ac3ae04331dd7aa0923c924672db2aef652b2f99a8a36a58c0efe4069f9b2755e343bea887128f02edd0abbf0775743541ca81fdb325ca1022145dde79ff7
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_install()
|
||
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/flatbush)
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||
|
|
||
|
# Handle copyright
|
||
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|