Commit b3e29da5 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-33290: Disable ColumnStore based on boost version (post-postfix)

policy CMP0093 was added in cmake 3.15
let's support cmake from 2.8.12, that's what our
CMAKE_MINIMUM_REQUIRED() says
parent 075dd736
...@@ -13,11 +13,10 @@ endmacro() ...@@ -13,11 +13,10 @@ endmacro()
IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64") CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")
cmake_policy(SET CMP0093 NEW)
# https://jira.mariadb.org/browse/MCOL-5611 # https://jira.mariadb.org/browse/MCOL-5611
FIND_PACKAGE(Boost COMPONENTS system filesystem thread regex date_time chrono atomic) FIND_PACKAGE(Boost COMPONENTS system filesystem thread regex date_time chrono atomic)
IF (Boost_VERSION VERSION_GREATER "1.79.0") IF (${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_GREATER "1.79")
MESSAGE_ONCE(CS_NO_BOOST "Boost Libraries >= 1.80.0 not supported!") MESSAGE_ONCE(CS_NO_BOOST "Boost Libraries >= 1.80.0 not supported!")
return() return()
ENDIF() ENDIF()
......
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