Skip to content

Commit 14dbaa6

Browse files
committed
cmake: raise minimum required version to 3.5
... to fix the following CMake 4.0 error: ``` CMake Error at CMakeLists.txt:18 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. ```
1 parent 4293c8c commit 14dbaa6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2014 - 2022 Red Hat, Inc.
1+
# Copyright (C) 2014 - 2025 Red Hat, Inc.
22
#
33
# This file is part of cscppc.
44
#
@@ -15,7 +15,7 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with cscppc. If not, see <http://www.gnu.org/licenses/>.
1717

18-
cmake_minimum_required(VERSION 3.4)
18+
cmake_minimum_required(VERSION 3.5)
1919
project(cscppc C)
2020
enable_testing()
2121

0 commit comments

Comments
 (0)