MXS-1697: Treat missing libraries as an error
If the avrorouter is being build and the required libraries are not found, the configuration process should fail. Adding the command to bypass this into the error message should make it easier to disable this part if it is not needed.
This commit is contained in:
parent
f066ba8753
commit
93f3529bb4
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user