Skip to content

Commit

Permalink
avoid an error when building with catkin_make
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwwood committed Mar 31, 2016
1 parent 746ba92 commit 91ba11a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cmake/rviz-extras.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# The file being included is generated by src/rviz/default_plugin/CMakeLists.txt
include("${rviz_DIR}/default_plugin_location.cmake")
set(rviz_DEFAULT_PLUGIN_LIBRARIES
"${rviz_DIR}/../../../@CATKIN_PACKAGE_LIB_DESTINATION@/${rviz_DEFAULT_PLUGIN_FILE_NAME}")
# Allow this to be conditionally included because it is not available during CMake configure.
if(EXISTS "${rviz_DIR}/default_plugin_location.cmake")
# The file being included is generated by src/rviz/default_plugin/CMakeLists.txt
include("${rviz_DIR}/default_plugin_location.cmake")
set(rviz_DEFAULT_PLUGIN_LIBRARIES
"${rviz_DIR}/../../../@CATKIN_PACKAGE_LIB_DESTINATION@/${rviz_DEFAULT_PLUGIN_FILE_NAME}")
endif()

0 comments on commit 91ba11a

Please sign in to comment.