mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
766f36b47b
* Add port files * Add version and git-tree * New sha for package * Update git-tree * Update release sha512 * Update git-tree * New pkg as per PR review * And the usual git-tree * More code review fixes * More git-tree stuff
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")
|