File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8.3 )
1
+ cmake_minimum_required (VERSION 3.0.2 )
2
2
project (octomap_rviz_plugins )
3
3
4
4
find_package (catkin REQUIRED COMPONENTS octomap_msgs
@@ -21,7 +21,7 @@ catkin_package(
21
21
CATKIN_DEPENDS octomap_msgs
22
22
roscpp
23
23
rviz
24
- DEPENDS octomap
24
+ DEPENDS OCTOMAP
25
25
)
26
26
27
27
@@ -49,6 +49,7 @@ set(SOURCE_FILES
49
49
50
50
add_library (${PROJECT_NAME} ${SOURCE_FILES} )
51
51
target_link_libraries (${PROJECT_NAME} ${QT_LIBRARIES} ${Boost_LIBRARIES} ${OCTOMAP_LIBRARIES} ${catkin_LIBRARIES} )
52
+ target_compile_options (${PROJECT_NAME} PUBLIC "-Wno-register" ) # Avoid OGRE deprecaton warnings under C++17
52
53
53
54
install (DIRECTORY include /${PROJECT_NAME}/
54
55
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
You can’t perform that action at this time.
0 commit comments