mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-21 06:25:15 -04:00
CMake: Remove cmake_minimum_required from Config
This commit is contained in:
parent
113a7dbab1
commit
440cf4f012
1 changed files with 4 additions and 1 deletions
|
|
@ -5,7 +5,10 @@
|
|||
#! SPDX-License-Identifier: GPL-2.0-or-later !
|
||||
#!-------------------------------------------------------------------------------------------------!
|
||||
|
||||
cmake_minimum_required(VERSION 3.22)
|
||||
if(CMAKE_VERSION VERSION_LESS "3.24")
|
||||
message(FATAL_ERROR "CP2K requires CMake 3.24 or newer.")
|
||||
endif()
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
if(NOT TARGET cp2k::cp2k)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue