aboutsummaryrefslogtreecommitdiff
path: root/ports/urdfdom/portfile.cmake
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-10-13 13:17:32 -0700
committerGitHub <noreply@github.com>2020-10-13 13:17:32 -0700
commit75bd2efe0dce862dfa025209b8cecc61a00a1852 (patch)
tree8f490bc7e3c4fffe5a1b3f641a6373a6ea341cc8 /ports/urdfdom/portfile.cmake
parente14917f04b2a79b22087cab67ab80c0e3d47c8ba (diff)
downloadvcpkg-75bd2efe0dce862dfa025209b8cecc61a00a1852.tar.gz
vcpkg-75bd2efe0dce862dfa025209b8cecc61a00a1852.zip
[many ports] 2019.09.14 Updates (#13536)
* [many ports] 2019.09.14 Updates * Revert failure ports * Revert failure ports * Revert failure ports * [urdfdom] Fix find dependency console_bridge * Revert failure ports * [devil] Compatible with jasper 2.0.20 * [devil] Refix compatible with jasper functions declaration on different os * Update ports/alembic/CONTROL Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Revert failure ports wangle * [azure-kinect-sensor-sdk] Fix build with matroska 1.6.2 * Revert failure ports * Revert failure ports * [urdfdom-headers] Fix include path in config.cmake file * upload patch * [urdfdom-headers] Refix include path in config.cmake file * [qt5-imageformats] Fix missing include math.h * [urdfdom-headers] Refix include path in config.cmake file * [qt5] Fix adding option PATCHES and other options when using qt_submodule_installation * Remove updated ports version * Commit suggestions * [libideviceactivation] revert Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/urdfdom/portfile.cmake')
-rw-r--r--ports/urdfdom/portfile.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/ports/urdfdom/portfile.cmake b/ports/urdfdom/portfile.cmake
index 2c45455ea..b2dfeaf0c 100644
--- a/ports/urdfdom/portfile.cmake
+++ b/ports/urdfdom/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
@@ -12,6 +10,7 @@ vcpkg_from_github(
0001_use_math_defines.patch
0002_fix_exports.patch
0003_import_prefix.patch
+ 0004_fix-dependency-console_bridge.patch
)
vcpkg_configure_cmake(
@@ -34,7 +33,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/)
-file(RENAME ${CURRENT_PACKAGES_DIR}/bin/ ${CURRENT_PACKAGES_DIR}/tools/urdfdom/)
+file(RENAME ${CURRENT_PACKAGES_DIR}/bin/ ${CURRENT_PACKAGES_DIR}/tools/${PORT}/)
file(GLOB URDFDOM_DLLS_DEBUG ${CURRENT_PACKAGES_DIR}/debug/lib/*.dll)
foreach(URDFDOM_DLL_DEBUG ${URDFDOM_DLLS_DEBUG})
@@ -48,4 +47,4 @@ foreach(URDFDOM_DLL_RELEASE ${URDFDOM_DLLS_RELEASE})
file(REMOVE ${URDFDOM_DLL_RELEASE})
endforeach()
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/urdfdom RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)