mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 16:31:48 +08:00
3887833719
* [urdfdom] Update to 3.1.0 * Enable static builds * version * Remove from ci baseline * Update headers as well * use version * version * Update dartsim * version * only dynamic * version * Fix version * version * Update dartsim * version * [dartsim] update to fix Windows build failure * Add fmt dependence * urdfdom supports * Update ref * license * version * dartsim isn't supported on 32 bits anymore * version * [dartsim] update to 6.12.2 * version * maybe unused * version * Fix patch * version * cr urdfdom-headers * dartsim * urdfdom * version * license * version
30 lines
1.0 KiB
CMake
30 lines
1.0 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ros/urdfdom_headers
|
|
REF 2981892df9da19d10f58dc84de63820e4f554f63 # 1.1.0
|
|
SHA512 cc47d2fb9781f4c7f1af25ccfb4dc8cc9e72d2ec22cb2fe16866bb0e7ed40494181a413dcd74cb0407b4f5c20262f076f8ae87d605ba0e5477a57ff29ba30967
|
|
HEAD_REF master
|
|
PATCHES fix-include-path.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
if(EXISTS "${CURRENT_PACKAGES_DIR}/CMake")
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH CMake PACKAGE_NAME urdfdom_headers)
|
|
else()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/urdfdom_headers/cmake PACKAGE_NAME urdfdom_headers)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/urdfdom_headers")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/urdfdom_headers")
|
|
endif()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|