Put back cmake comments

This commit is contained in:
Christophe Bedard 2019-07-25 09:30:46 +02:00
parent 6f9cc13902
commit 5da7ad22ed
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@ find_package(ament_cmake_ros REQUIRED)
option(TRACETOOLS_DISABLED "Explicitly disable support for tracing with LTTng" OFF) option(TRACETOOLS_DISABLED "Explicitly disable support for tracing with LTTng" OFF)
if(NOT TRACETOOLS_DISABLED) if(NOT TRACETOOLS_DISABLED)
# Set TRACING_ENABLED if we can find lttng-ust
find_package(PkgConfig) find_package(PkgConfig)
if(PkgConfig_FOUND) if(PkgConfig_FOUND)
pkg_check_modules(LTTNG lttng-ust) pkg_check_modules(LTTNG lttng-ust)

View file

@ -14,6 +14,7 @@ find_package(ament_cmake REQUIRED)
option(TRACETOOLS_DISABLED "Explicitly disable support for tracing with LTTng" OFF) option(TRACETOOLS_DISABLED "Explicitly disable support for tracing with LTTng" OFF)
if(NOT TRACETOOLS_DISABLED) if(NOT TRACETOOLS_DISABLED)
# Set TRACING_ENABLED if we can find lttng-ust
find_package(PkgConfig) find_package(PkgConfig)
if(PkgConfig_FOUND) if(PkgConfig_FOUND)
pkg_check_modules(LTTNG lttng-ust) pkg_check_modules(LTTNG lttng-ust)