Merge branch '29-tracetools-test_utils-is-never-built' into tblass/enable-tracing-by-default

This commit is contained in:
Christophe Bedard 2019-07-25 08:45:27 +02:00
commit ae093f062d

View file

@ -91,7 +91,7 @@ if(BUILD_TESTING)
ament_lint_auto_find_test_dependencies() ament_lint_auto_find_test_dependencies()
# Only build tracetools utils tests if LTTng is enabled and found # Only build tracetools utils tests if LTTng is enabled and found
if(TRACETOOLS_LTTNG_ENABLED) if(TRACING_ENABLED)
ament_add_gtest(test_utils test/test_utils.cpp) ament_add_gtest(test_utils test/test_utils.cpp)
if(TARGET test_utils) if(TARGET test_utils)
target_link_libraries(test_utils ${PROJECT_NAME} -rdynamic) target_link_libraries(test_utils ${PROJECT_NAME} -rdynamic)