diff --git a/tools/dump-hops/CMakeLists.txt b/tools/dump-hops/CMakeLists.txt index 930dbb01..265b3ab5 100644 --- a/tools/dump-hops/CMakeLists.txt +++ b/tools/dump-hops/CMakeLists.txt @@ -2,6 +2,10 @@ set(SRCS DumpHops.cc ) +if(NOT CONFIG_INJECTIONPOINT_HOPS) + message (FATAL_ERROR "For building the dump-hops tool you need to enable CONFIG_INJECTIONPOINT_HOPS") +endif() + add_executable(dump-hops ${SRCS}) target_link_libraries(dump-hops ${PROTOBUF_LIBRARY} fail-util fail-comm) install(TARGETS dump-hops RUNTIME DESTINATION bin)