From 4d965f361490c352663bcd3c10f93e56f2962eb2 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