2017-08-21 02:02:30 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO strasdat/Sophus
|
2024-06-13 07:26:25 +08:00
|
|
|
REF 1.24.6-rc1
|
|
|
|
SHA512 c1ba40b823cabce3fe83f528837ac111f4d746d6679fb920abd7be32de149c0937bb9a5049da156aec28a9b9fedbebae76a056de12707c01c5cb40dc9197c3e4
|
|
|
|
HEAD_REF main
|
2017-08-21 02:02:30 +08:00
|
|
|
)
|
|
|
|
|
2022-01-27 07:24:18 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_SOPHUS_TESTS=OFF
|
2017-08-21 02:02:30 +08:00
|
|
|
)
|
|
|
|
|
2022-01-27 07:24:18 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/sophus/cmake)
|
|
|
|
|
2017-08-21 02:02:30 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-01-27 07:24:18 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2017-08-21 02:02:30 +08:00
|
|
|
|
2021-07-15 03:46:05 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|