Skip to content

Commit 25fea71

Browse files
authored
Avoid error about moc_xxx files not found (moveit#181)
Avoid error about moc_xxx files not found. * Added include dir option in CMakeList to avoid error on moc_xxx files generation
1 parent 11132c8 commit 25fea71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visualization/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ else()
2828
endmacro()
2929
endif()
3030

31+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
3132
set(CMAKE_AUTOMOC ON)
3233
set(CMAKE_AUTORCC ON)
3334
add_definitions(-DQT_NO_KEYWORDS)

0 commit comments

Comments
 (0)