MDEV-8128 cmake fails to detect boost libraries

This commit is contained in:
Sergei Golubchik 2015-06-16 23:46:22 +02:00
parent 26b0cf4d3f
commit 7bfda275a1

View File

@ -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