Always include Jansson header directory

The directory is always included even if we are not building the Jansson
library ourselves.
This commit is contained in:
Markus Mäkelä 2017-04-30 10:00:18 +03:00
parent dd8a10f466
commit 5c0429466c

View File

@ -65,9 +65,10 @@ endif()
if(NOT JANSSON_FOUND)
message(STATUS "Building Jansson from source.")
include(cmake/BuildJansson.cmake)
include_directories(${JANSSON_INCLUDE_DIR})
endif()
include_directories(${JANSSON_INCLUDE_DIR})
# You can find the variables set by this in the FindCURL.cmake file
# which is a default module in CMake.