Skip to content

Commit

Permalink
check for CATKIN_ENABLE_TESTING (fix #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jul 3, 2013
1 parent 8753615 commit be74440
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ install(TARGETS ${PROJECT_NAME}
install(DIRECTORY include/class_loader/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})

add_subdirectory(test)
if(CATKIN_ENABLE_TESTING)
add_subdirectory(test)
endif()
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<url type="website">http://ros.org/wiki/class_loader</url>

<buildtool_depend>catkin</buildtool_depend>
<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>

<build_depend>console_bridge</build_depend>
<build_depend>libpoco-dev</build_depend>
Expand Down

0 comments on commit be74440

Please sign in to comment.