mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ros/rviz: properly find assimp
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
13
dev-ros/rviz/files/assimp.patch
Normal file
13
dev-ros/rviz/files/assimp.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: rviz-1.14.14/src/rviz/CMakeLists.txt
|
||||
===================================================================
|
||||
--- rviz-1.14.14.orig/src/rviz/CMakeLists.txt
|
||||
+++ rviz-1.14.14/src/rviz/CMakeLists.txt
|
||||
@@ -145,7 +145,7 @@ target_link_libraries(${PROJECT_NAME}
|
||||
${rviz_ADDITIONAL_LIBRARIES}
|
||||
${TinyXML2_LIBRARIES}
|
||||
${X11_X11_LIB}
|
||||
- ${ASSIMP_LIBRARIES}
|
||||
+ ${assimp_LIBRARIES}
|
||||
${YAML_CPP_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -68,7 +68,10 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/yamlcpp.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/yamlcpp.patch"
|
||||
"${FILESDIR}/assimp.patch"
|
||||
)
|
||||
|
||||
src_test() {
|
||||
virtx ros-catkin_src_test
|
||||
|
||||
@@ -68,7 +68,10 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/yamlcpp.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/yamlcpp.patch"
|
||||
"${FILESDIR}/assimp.patch"
|
||||
)
|
||||
|
||||
src_test() {
|
||||
virtx ros-catkin_src_test
|
||||
|
||||
Reference in New Issue
Block a user