[Commits] Rev 3667: Compilation : fix oqgraph's system check, in case where boost header aren't in standard include directory. in file:///H:/bzr/5.5/

Vladislav Vaintroub wlad at montyprogram.com
Sun Feb 24 21:05:50 EET 2013


At file:///H:/bzr/5.5/

------------------------------------------------------------
revno: 3667
revision-id: wlad at montyprogram.com-20130224190526-nbq9r4zqjgol61b1
parent: wlad at montyprogram.com-20130221215954-nfngzvu6v7ynzweh
committer: Vladislav Vaintroub <wlad at montyprogram.com>
branch nick: 5.5
timestamp: Sun 2013-02-24 20:05:26 +0100
message:
  Compilation : fix oqgraph's system check, in case where boost header aren't in standard include directory.
-------------- next part --------------
=== modified file 'storage/oqgraph/CMakeLists.txt'
--- a/storage/oqgraph/CMakeLists.txt	2012-08-11 08:31:10 +0000
+++ b/storage/oqgraph/CMakeLists.txt	2013-02-24 19:05:26 +0000
@@ -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



More information about the commits mailing list