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.