2017-08-21 02:02:30 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO strasdat/Sophus
|
2023-08-01 02:18:48 +08:00
|
|
|
REF 1.22.10
|
|
|
|
SHA512 0b212a015d487b3a39a9c4beb4280ebd659782f527ec863f429b5aa57462d53c41976c9285894855b380baa97d5fda35b46dfd09aa31653fb35b51039816ac78
|
2017-08-21 02:02:30 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-01-27 07:24:18 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_SOPHUS_TESTS=OFF
|
|
|
|
-DBUILD_SOPHUS_EXAMPLES=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)
|