Always build Jansson

The library is now built even if the system has some version of Jansson.
This commit is contained in:
Markus Mäkelä
2017-06-14 14:34:02 +03:00
parent 17c0bf7dec
commit a72d73fa3b
2 changed files with 2 additions and 7 deletions

View File

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