From 2c97d5a3057dc8ce58ac5fc67593d8717575c6f2 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sun, 24 Feb 2013 20:05:26 +0100 Subject: [PATCH] Compilation : fix oqgraph's system check, in case where boost header aren't in standard include directory. --- storage/oqgraph/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/oqgraph/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt index 83acb99b2a2..593fced6235 100644 --- a/storage/oqgraph/CMakeLists.txt +++ b/storage/oqgraph/CMakeLists.txt @@ -3,6 +3,7 @@ IF(NOT Boost_FOUND) RETURN() ENDIF() INCLUDE_DIRECTORIES(BEFORE ${Boost_INCLUDE_DIRS}) +SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${Boost_INCLUDE_DIRS}) IF(MSVC) # lp:756966 OQGRAPH on Win64 does not compile