From 5c0429466c7720d7cb0db034fd2413c666965e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Sun, 30 Apr 2017 10:00:18 +0300 Subject: [PATCH] Always include Jansson header directory The directory is always included even if we are not building the Jansson library ourselves. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3974d5af..c1e0cbda4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.