Skip to content

Commit

Permalink
MDEV-33290: Disable ColumnStore based on boost version (post-postfix)
Browse files Browse the repository at this point in the history
policy CMP0093 was added in cmake 3.15
let's support cmake from 2.8.12, that's what our
CMAKE_MINIMUM_REQUIRED() says
  • Loading branch information
vuvova committed Apr 5, 2024
1 parent 075dd73 commit b3e29da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storage/columnstore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ endmacro()

IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")
cmake_policy(SET CMP0093 NEW)

# https://jira.mariadb.org/browse/MCOL-5611
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!")
return()
ENDIF()
Expand Down

0 comments on commit b3e29da

Please sign in to comment.