diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 3bba45f..8955f95 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -63,7 +63,9 @@ endif() # misc add_subdirectory(cpp/misc/process) add_subdirectory(cpp/misc/time) -add_subdirectory(cpp/misc/timer) +if(ECAL_CORE_PUBLISHER) + add_subdirectory(cpp/misc/timer) +endif() # monitoring if(ECAL_CORE_MONITORING)