MDEV-8128 cmake fails to detect boost libraries
This commit is contained in:
parent
26b0cf4d3f
commit
7bfda275a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user