Skip to content

Commit d00e842

Browse files
committed
Remove FATAL_ERROR in cmake_minimum_required
This is for CMake versions 2.4 and earlier to fail with an error if version is not sufficient. Since CMake 2.x is prehistoric branch and CMake 3.x branch is now so widely adopted by the current systems, it's not relevant anylonger.
1 parent 78ee9a0 commit d00e842

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bin/init.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Usage:
1414
cmake -P bin/init.cmake
1515
#]=============================================================================]
1616

17-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
17+
cmake_minimum_required(VERSION 3.25)
1818

1919
# The PHP MAJOR.MINOR version currently in development (the master branch).
2020
set(PHP_DEVELOPMENT_VERSION "8.5")

bin/php.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Usage examples:
3333
./bin/php.cmake
3434
#]=============================================================================]
3535

36-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
36+
cmake_minimum_required(VERSION 3.25)
3737

3838
################################################################################
3939
# Set default variables.

cmake/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.25 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.25)
22

33
# Configure CMake behavior.
44
include(cmake/CMakeDefaults.cmake)

cmake/ext/skeleton/CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CMakeLists.txt file for the %EXTNAME% extension.
22

33
# Set minimum required CMake version.
4-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
4+
cmake_minimum_required(VERSION 3.25)
55

66
# Append extension's local CMake modules.
77
if(NOT ${CMAKE_CURRENT_LIST_DIR}/cmake/modules IN_LIST CMAKE_MODULE_PATH)

0 commit comments

Comments
 (0)