Skip to content

Commit f9f8422

Browse files
committed
Bump cmake versions
CMake 4.0 no longer supports compatibility with CMake < 3.5. Bump the required versions accordingly. https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features
1 parent d552264 commit f9f8422

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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 3.4.3)
1+
cmake_minimum_required(VERSION 3.5.0)
22

33
message(STATUS "Checking for lit")
44
find_program(LIT lit)

tests/minimal_llvm_cmake.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# RUN: cat %s > %t/CMakeLists.txt
55
# RUN: cd %t/_build && %cmake ..
66

7-
cmake_minimum_required(VERSION 3.4.3)
7+
cmake_minimum_required(VERSION 3.5.0)
88

99
find_package(LLVM)
1010

tests/plugins_newpm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# RUN: grep "Function name: foo" %t.output
1212
# REQUIRES: opt, clang
1313

14-
cmake_minimum_required(VERSION 3.4.3)
14+
cmake_minimum_required(VERSION 3.5.0)
1515

1616
project(TestLLVMPass)
1717
find_package(LLVM REQUIRED CONFIG)

0 commit comments

Comments
 (0)