Skip to content

Commit b3e29da

Browse files
committed
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
1 parent 075dd73 commit b3e29da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

storage/columnstore/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ endmacro()
1313

1414
IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
1515
CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")
16-
cmake_policy(SET CMP0093 NEW)
1716

1817
# https://jira.mariadb.org/browse/MCOL-5611
1918
FIND_PACKAGE(Boost COMPONENTS system filesystem thread regex date_time chrono atomic)
20-
IF (Boost_VERSION VERSION_GREATER "1.79.0")
19+
IF (${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_GREATER "1.79")
2120
MESSAGE_ONCE(CS_NO_BOOST "Boost Libraries >= 1.80.0 not supported!")
2221
return()
2322
ENDIF()

0 commit comments

Comments
 (0)