Commit 7bfda275 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-8128 cmake fails to detect boost libraries

parent 26b0cf4d
...@@ -24,6 +24,7 @@ IF(MSVC) ...@@ -24,6 +24,7 @@ IF(MSVC)
# ENDIF() # ENDIF()
ELSE() ELSE()
# See if that works. On old gcc it'll fail because of -fno-rtti # 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( CHECK_CXX_SOURCE_COMPILES(
" "
#define BOOST_NO_RTTI 1 #define BOOST_NO_RTTI 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment