From 7ab5a491ed64804635587806aa0874d4bcad9a3e Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Sun, 9 Feb 2014 23:42:16 +0100 Subject: [PATCH] dump-hops: needs CONFIG_INJECTIONPOINT_HOPS Change-Id: Id884e968c903372d4f81748fbc496fea0fb7bc9e --- tools/dump-hops/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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)