Skip to content

Commit

Permalink
Fix compile issue on Ubuntu 18.04 due to PCL 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Aug 24, 2020
1 parent 8af4617 commit 37ce63d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions programs/pointAtObjectServer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ if(ENABLE_pointAtObjectServer)
vtkTimerCallback.hpp
vtkTimerCallback.cpp)

# workaround for PCL 1.8 (Ubuntu 18.04), exclude empty/blank strings as compile defs
list(FILTER PCL_DEFINITIONS EXCLUDE REGEX "^ +$")
target_compile_definitions(pointAtObjectServer PUBLIC ${PCL_DEFINITIONS})

target_link_libraries(pointAtObjectServer YARP::YARP_OS
Expand Down

0 comments on commit 37ce63d

Please sign in to comment.