Skip to content

Commit ec9f872

Browse files
authored
Minimum CMake version is now 3.5. (#158)
1 parent 2a8739c commit ec9f872

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.5...3.29)
22

33
# Set extension name here
44
set(TARGET_NAME substrait)

test/c/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.5...3.29)
22
set(TARGET_NAME substrait_c_test)
33
project(${TARGET_NAME})
44

5-
if (CMAKE_VERSION VERSION_LESS "3.1")
6-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
7-
else ()
8-
set (CMAKE_CXX_STANDARD 11)
9-
endif ()
5+
set (CMAKE_CXX_STANDARD 11)
106

117
include_directories(../../duckdb/src/include)
128
include_directories(../../duckdb/test/include)

0 commit comments

Comments
 (0)