Skip to content

Commit

Permalink
bump CMake minimal version
Browse files Browse the repository at this point in the history
Fixes building with the latest LLVM 16 due to use of IN_LIST operator:

Policy CMP0057 is not set: Support new IN_LIST if() operator.  Run "cmake
--help-policy CMP0057" for policy details.  Use the cmake_policy command to
set the policy and suppress this warning.
  • Loading branch information
marxin committed Jan 26, 2023
1 parent d9e4a50 commit 2f4e175
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

###############################################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.3)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

Expand Down
2 changes: 1 addition & 1 deletion clang_delta/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

###############################################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.3)
project(clang_delta)

###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion clex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

###############################################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.3)

# find_package(FLEX) is done by the topmost "CMakeLists.txt" file.

Expand Down
2 changes: 1 addition & 1 deletion cvise/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

###############################################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.3)

project(cvise_python)

Expand Down
2 changes: 1 addition & 1 deletion delta/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

###############################################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.3)

# find_package(FLEX) is done by the topmost "CMakeLists.txt" file.

Expand Down

0 comments on commit 2f4e175

Please sign in to comment.