Skip to content

Commit

Permalink
Merge pull request #14 from ament/ctest_build_testing
Browse files Browse the repository at this point in the history
use CTest BUILD_TESTING
  • Loading branch information
dirk-thomas committed May 2, 2016
2 parents affbc78 + 7c3594b commit 1447bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ament_index_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC include)
ament_export_include_directories(include)
ament_export_libraries(${PROJECT_NAME})

if(AMENT_ENABLE_TESTING)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# prevent cppcheck from being found, since it fails to process the file utest.cpp
set(ament_cmake_cppcheck_FOUND TRUE)
Expand Down

0 comments on commit 1447bcd

Please sign in to comment.