summaryrefslogtreecommitdiff
path: root/storage/oqgraph
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-06-16 23:46:22 +0200
committerSergei Golubchik <serg@mariadb.org>2015-06-16 23:58:14 +0200
commit7bfda275a1b9a4759fcb3dbef4736b1094c892d2 (patch)
tree6d71e32eb5840473e6b1152ee8a16c46fb796e02 /storage/oqgraph
parent26b0cf4d3f0f7c94da9eb21b899e4ba0359dedfe (diff)
downloadmariadb-git-7bfda275a1b9a4759fcb3dbef4736b1094c892d2.tar.gz
MDEV-8128 cmake fails to detect boost libraries
Diffstat (limited to 'storage/oqgraph')
-rw-r--r--storage/oqgraph/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/oqgraph/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt
index 1a59ae0f0dc..512fa0eb76c 100644
--- a/storage/oqgraph/CMakeLists.txt
+++ b/storage/oqgraph/CMakeLists.txt
@@ -24,6 +24,7 @@ IF(MSVC)
# ENDIF()
ELSE()
# See if that works. On old gcc it'll fail because of -fno-rtti
+SET(CMAKE_REQUIRED_INCLUDES "${Boost_INCLUDE_DIRS}")
CHECK_CXX_SOURCE_COMPILES(
"
#define BOOST_NO_RTTI 1