From 7bfda275a1b9a4759fcb3dbef4736b1094c892d2 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 16 Jun 2015 23:46:22 +0200 Subject: [PATCH] MDEV-8128 cmake fails to detect boost libraries --- storage/oqgraph/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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