diff --git a/server/modules/routing/avrorouter/CMakeLists.txt b/server/modules/routing/avrorouter/CMakeLists.txt index d23a4e986..0fe35de54 100644 --- a/server/modules/routing/avrorouter/CMakeLists.txt +++ b/server/modules/routing/avrorouter/CMakeLists.txt @@ -11,5 +11,6 @@ if(AVRO_FOUND AND JANSSON_FOUND) add_subdirectory(test) endif() else() - message(STATUS "No Avro C or Jansson libraries found, not building avrorouter.") + message(FATAL_ERROR "No Avro C or Jansson libraries found, cannot build avrorouter. " + "Use the -DBUILD_CDC=N option to `cmake` to disable building of the avrorouter.") endif()