From 142b6a432ad950cf3b77d5decf1a40695774f67d Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sun, 13 Sep 2015 23:45:58 +0200 Subject: [PATCH] Added proper json-cpp include directory --- doorlockd/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doorlockd/CMakeLists.txt b/doorlockd/CMakeLists.txt index c347de0..1bc18ed 100644 --- a/doorlockd/CMakeLists.txt +++ b/doorlockd/CMakeLists.txt @@ -20,6 +20,9 @@ set(CMAKE_C_FLAGS "-O2 -Wall -pedantic -Wextra") find_package(Boost 1.55.0 COMPONENTS program_options system REQUIRED) +set(JSON_INCLUDE_DIR "/usr/include/jsoncpp" CACHE PATH "path to jsoncpp includes") +include_directories(${JSON_INCLUDE_DIR}) + find_package (Threads) set(SRCS