vcpkg/ports/proxsuite/portfile.cmake
Andrew Kornilov ed4a222968
[proxsuite] Update to v0.6.4 (#38189)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---------

Co-authored-by: Andrew Kornilov <Andrey.Kornilov@atom.team>
2024-04-15 13:07:23 -04:00

38 lines
1.1 KiB
CMake

set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Simple-Robotics/proxsuite
REF "v${VERSION}"
SHA512 471f6ce375904e8ae6d4d78586461e01ea74d24329270b19d6c0c9c20554cba0e84bfdbd28dca4353c55ab10235159a02f3e8c4ffd584b82f6f681b688c524e8
HEAD_REF main
)
vcpkg_from_github(
OUT_SOURCE_PATH MODULES_SOURCE_PATH
REPO jrl-umi3218/jrl-cmakemodules
REF 570915059b50f7dead7dae4c7f782ad3612fdc6e
SHA512 829a075189ca2773c612027dce78c27a5c057087803e728524194d56d7e998e93a2ccee9521719eaca7caedf2c90a8fa8f311dafd072a42a07ad4425ac391f6e
HEAD_REF master
)
file(REMOVE_RECURSE "${SOURCE_PATH}/cmake-module")
file(RENAME "${MODULES_SOURCE_PATH}" "${SOURCE_PATH}/cmake-module")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DBUILD_WITH_VECTORIZATION_SUPPORT=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")