2020-04-12 02:52:54 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO pvigier/Quadtree
|
2022-11-23 02:32:52 +08:00
|
|
|
REF a28cb41eeee3f020eb807cf9d7fd5859f62bbacd
|
|
|
|
SHA512 52fcf3b48d87f18a05feb216f5439eba3f19608b4453c27a3c689242ba638588c054c7b5a39f0686073314ed6ac53717a37b6cdc66f9cd6e5d96f0fe84d90d54
|
2020-04-12 02:52:54 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-11-23 02:32:52 +08:00
|
|
|
vcpkg_cmake_configure(
|
2020-04-12 02:52:54 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
-DCODE_COVERAGE=OFF
|
|
|
|
-DBUILD_BENCHMARKS=OFF
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
-DBUILD_EXAMPLES=OFF
|
|
|
|
)
|
|
|
|
|
2020-04-16 07:09:03 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|