From 3f9183c71413ebd7a2229fa400dadd05313e17c7 Mon Sep 17 00:00:00 2001 From: Richard Clamp Date: Wed, 4 Feb 2015 12:59:48 +0000 Subject: [PATCH] (maint) search the Boost_INCLUDE_DIRS for headers --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ead1a08..5d86fba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,13 @@ add_library(jsoncpp add_subdirectory(thirdparty/gtest-1.7.0) # Include path -include_directories(include thirdparty/gtest-1.7.0/include thirdparty/jsoncpp-0.5.0/include thirdparty/rapidjson-0.1/include) +include_directories( + include + thirdparty/gtest-1.7.0/include + thirdparty/jsoncpp-0.5.0/include + thirdparty/rapidjson-0.1/include + ${Boost_INCLUDE_DIRS} +) # External schema validation example add_executable(external_schema