-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* urdfdom: add v4.0.0 * urdfdom: set CMP0077
- Loading branch information
Martin Valgur
authored
Feb 27, 2024
1 parent
5f0d204
commit 4bc06cf
Showing
8 changed files
with
80 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
recipes/urdfdom/all/patches/4.0.0/001-optional-build-apps.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- urdf_parser/CMakeLists.txt | ||
+++ urdf_parser/CMakeLists.txt | ||
@@ -81,6 +81,7 @@ | ||
|
||
# -------------------------------- | ||
|
||
+if(BUILD_APPS) | ||
add_executable(check_urdf src/check_urdf.cpp) | ||
target_include_directories(check_urdf PUBLIC include) | ||
target_link_libraries(check_urdf urdfdom_model urdfdom_world) | ||
@@ -97,6 +98,7 @@ | ||
add_executable(urdf_mem_test test/memtest.cpp) | ||
target_include_directories(urdf_mem_test PUBLIC include) | ||
target_link_libraries(urdf_mem_test urdfdom_model) | ||
+endif() | ||
|
||
include(CTest) | ||
if(BUILD_TESTING) | ||
@@ -104,6 +106,7 @@ | ||
add_subdirectory(test) | ||
endif() | ||
|
||
+if(BUILD_APPS) | ||
INSTALL( | ||
TARGETS | ||
check_urdf | ||
@@ -114,6 +117,7 @@ | ||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
) | ||
+endif() | ||
INSTALL( | ||
TARGETS | ||
urdfdom_model |
14 changes: 14 additions & 0 deletions
14
recipes/urdfdom/all/patches/4.0.0/002-use-conan-dependencies.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- CMakeLists.txt | ||
+++ CMakeLists.txt | ||
@@ -45,11 +45,8 @@ | ||
|
||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
|
||
-find_package(tinyxml2_vendor QUIET) | ||
find_package(TinyXML2 REQUIRED) | ||
|
||
-find_package(urdfdom_headers 1.0 REQUIRED) | ||
-find_package(console_bridge_vendor QUIET) # Provides console_bridge 0.4.0 on platforms without it. | ||
find_package(console_bridge REQUIRED) | ||
|
||
# Control where libraries and executables are placed during the build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
versions: | ||
"4.0.0": | ||
folder: all | ||
"3.1.1": | ||
folder: all |