File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ find_package(Boost REQUIRED COMPONENTS thread )
13
13
find_package (Qt5 COMPONENTS Core Widgets REQUIRED )
14
14
set (QT_LIBRARIES Qt5::Widgets )
15
15
16
+ set (CMAKE_AUTOMOC ON )
17
+
16
18
add_definitions (-DQT_NO_KEYWORDS )
17
19
18
20
catkin_package (
@@ -35,16 +37,9 @@ link_directories(${catkin_LIBRARY_DIRS}
35
37
${OCTOMAP_LIBRARY_DIRS} )
36
38
37
39
38
- QT5_WRAP_CPP (MOC_FILES
39
- include /octomap_rviz_plugins/occupancy_grid_display.h
40
- include /octomap_rviz_plugins/occupancy_map_display.h
41
- OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED -DBOOST_LEXICAL_CAST_INCLUDED
42
- )
43
-
44
40
set (SOURCE_FILES
45
41
src/occupancy_grid_display.cpp
46
- src/occupancy_map_display.cpp
47
- ${MOC_FILES}
42
+ src/occupancy_map_display.cpp
48
43
)
49
44
50
45
add_library (${PROJECT_NAME} MODULE ${SOURCE_FILES} )
You can’t perform that action at this time.
0 commit comments