dump-hops: needs CONFIG_INJECTIONPOINT_HOPS

Change-Id: Id884e968c903372d4f81748fbc496fea0fb7bc9e
This commit is contained in:
Horst Schirmeier
2014-02-09 23:42:16 +01:00
parent c6655c0dbb
commit 7ab5a491ed

View File

@ -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)