aboutsummaryrefslogtreecommitdiff
path: root/ports/urdfdom
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/urdfdom
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/urdfdom')
-rw-r--r--ports/urdfdom/CONTROL2
-rw-r--r--ports/urdfdom/portfile.cmake8
2 files changed, 3 insertions, 7 deletions
diff --git a/ports/urdfdom/CONTROL b/ports/urdfdom/CONTROL
index 7420aaca6..5a54bce56 100644
--- a/ports/urdfdom/CONTROL
+++ b/ports/urdfdom/CONTROL
@@ -1,5 +1,5 @@
Source: urdfdom
-Version: 1.0.3-1
+Version: 1.0.3-2
Homepage: https://github.com/ros/urdfdom
Description: Provides core data structures and a simple XML parsers for populating the class data structures from an URDF file.
Build-Depends: console-bridge, tinyxml, urdfdom-headers
diff --git a/ports/urdfdom/portfile.cmake b/ports/urdfdom/portfile.cmake
index cf5b3220b..a1f445d47 100644
--- a/ports/urdfdom/portfile.cmake
+++ b/ports/urdfdom/portfile.cmake
@@ -8,13 +8,9 @@ vcpkg_from_github(
REF 1.0.3
SHA512 240181d9c61dd7544f16a79a400d9a2c4dc0a682bef165b46529efcb4b31e2a34e27896933b60b9ddbaa5c4a8d575ebda42752599ff3b0a98d1eeef8f9b0b7a7
HEAD_REF master
-)
-
-vcpkg_apply_patches(
- SOURCE_PATH ${SOURCE_PATH}
PATCHES
- ${CMAKE_CURRENT_LIST_DIR}/0001_use_math_defines.patch
- ${CMAKE_CURRENT_LIST_DIR}/0002_fix_exports.patch
+ 0001_use_math_defines.patch
+ 0002_fix_exports.patch
)
vcpkg_configure_cmake(