mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 14:27:50 +08:00
38 lines
1.1 KiB
CMake
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 ce9d20f689cabf7668f8bd801017613a83ed816c8cab0190ae7116b2dc4880d0b5fa31bf11053f653f326b68984e3e63cdb3b43d9fd50a345554777d3d801a1b
|
||
|
HEAD_REF main
|
||
|
)
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH MODULES_SOURCE_PATH
|
||
|
REPO jrl-umi3218/jrl-cmakemodules
|
||
|
REF e1a71520cd2f0e6f2a611e1a70df4d8edf4d5a65
|
||
|
SHA512 a9dec01a4b4b30b42bf7f6e07c7102d58242c431f59875dac6bfc296473266f927e2ac3b823dcfa9364dad5cdbf46532d94eb65c41aa7d1ddfd7ec5212466ffa
|
||
|
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")
|