Skip to content

Commit 5a29d9b

Browse files
authored
Merge pull request #263 from k-okada/ros-o
install models/worlds directory only when gazebo_ros_FOUND
2 parents b97c14d + 1ef3a35 commit 5a29d9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eusurdf/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ else()
1515
message(WARNING "gazebo_ros package is not found, skip converting eusmodel to urdf")
1616
endif()
1717

18-
set(INSTALL_DIRS models textured_models worlds launch euslisp)
18+
set(INSTALL_DIRS textured_models launch euslisp)
19+
if(gazebo_ros_FOUND)
20+
LIST(APPEND INSTALL_DIRS models worlds)
21+
endif()
1922

2023
find_package(knowrob_map_tools)
2124
if(${knowrob_map_tools_FOUND})

0 commit comments

Comments
 (0)