Always build Jansson
The library is now built even if the system has some version of Jansson.
This commit is contained in:
@ -41,7 +41,6 @@ find_package(Git)
|
||||
find_package(CURL)
|
||||
find_package(RabbitMQ)
|
||||
find_package(LibUUID)
|
||||
find_package(Jansson)
|
||||
find_package(Avro)
|
||||
find_package(GSSAPI)
|
||||
find_package(SQLite)
|
||||
@ -62,11 +61,7 @@ else()
|
||||
message(STATUS "Using system Connector-C")
|
||||
endif()
|
||||
|
||||
if(NOT JANSSON_FOUND)
|
||||
message(STATUS "Building Jansson from source.")
|
||||
include(cmake/BuildJansson.cmake)
|
||||
endif()
|
||||
|
||||
include(cmake/BuildJansson.cmake)
|
||||
include(cmake/BuildMicroHttpd.cmake)
|
||||
|
||||
include_directories(${JANSSON_INCLUDE_DIR})
|
||||
|
Reference in New Issue
Block a user