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:
@ -65,9 +65,10 @@ endif()
|
|||||||
if(NOT JANSSON_FOUND)
|
if(NOT JANSSON_FOUND)
|
||||||
message(STATUS "Building Jansson from source.")
|
message(STATUS "Building Jansson from source.")
|
||||||
include(cmake/BuildJansson.cmake)
|
include(cmake/BuildJansson.cmake)
|
||||||
include_directories(${JANSSON_INCLUDE_DIR})
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
include_directories(${JANSSON_INCLUDE_DIR})
|
||||||
|
|
||||||
# You can find the variables set by this in the FindCURL.cmake file
|
# You can find the variables set by this in the FindCURL.cmake file
|
||||||
# which is a default module in CMake.
|
# which is a default module in CMake.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user