use CTest BUILD_TESTING

This commit is contained in:
Dirk Thomas 2016-04-28 18:44:26 -07:00
parent 7aeb957c2c
commit 347f520b46

View file

@ -69,7 +69,7 @@ ament_export_include_directories(include)
ament_export_libraries(${PROJECT_NAME})
if(AMENT_ENABLE_TESTING)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()