Skip to content

Commit 517b1ce

Browse files
authored
Require CMake 3.24 in BuildSupport/SwiftSyntax/CMakeLists.txt (#7631)
Versions older than 3.24 don't support `GLOBAL` argument of `find_package` and this leads to obscure errors with older versions of CMake. See https://cmake.org/cmake/help/latest/release/3.24.html#commands for the detailed CMake 3.24 changelog. We should specify the required version explicitly to avoid this.
1 parent d5f6260 commit 517b1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if(POLICY CMP0091)
1010
cmake_policy(SET CMP0091 NEW)
1111
endif()
1212

13-
cmake_minimum_required(VERSION 3.19)
13+
cmake_minimum_required(VERSION 3.24)
1414

1515
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
1616

0 commit comments

Comments
 (0)