use CTest BUILD_TESTING

This commit is contained in:
Dirk Thomas 2016-04-28 18:45:08 -07:00
parent c99b9b9734
commit 45f43ef523

View file

@ -75,7 +75,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()