mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 18:48:59 +08:00
2718aa52a3
* [recast] Update to 1.6.0 and use official CMakeLists * version bump * Use VERSION instead * version * New port recastnavigation and set recast depends on it. * version * Apply suggestion * version * version * Apply suggestion * version --------- Co-authored-by: jyu49 <yu_jack@apple.com>
29 lines
809 B
CMake
29 lines
809 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO recastnavigation/recastnavigation
|
|
REF v${VERSION}
|
|
SHA512 7567aaa78219cc490a6f76210fba1f130f0c17aeaa06432ab1207e0fd03404abe31042e8b03971aa0d04ad65d39469f13575fe0072fb920c38581d39568b70fb
|
|
HEAD_REF master
|
|
)
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DRECASTNAVIGATION_DEMO=OFF
|
|
-DRECASTNAVIGATION_TESTS=OFF
|
|
-DRECASTNAVIGATION_EXAMPLES=OFF
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/recastnavigation)
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
vcpkg_copy_pdbs()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/License.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|