Skip to content
Snippets Groups Projects
Verified Commit 6a69dacb authored by Tim Kaune's avatar Tim Kaune
Browse files

Bump minimum required CMake version to 3.30

Remove now obsolete workaround from package config file
parent 8c06478b
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ License along with this program. If not, see
set(CMAKE_MAXIMUM_SUPPORTED_VERSION 3.31)
cmake_minimum_required(VERSION 3.25...${CMAKE_MAXIMUM_SUPPORTED_VERSION})
cmake_minimum_required(VERSION 3.30...${CMAKE_MAXIMUM_SUPPORTED_VERSION})
project(NetlibF2C VERSION 1.7.1 LANGUAGES C)
......
......@@ -25,12 +25,6 @@ SOFTWARE.
@PACKAGE_INIT@
# TODO: Remove, when CMAKE_MINIMUM_REQUIRED_VERSION >= 3.29.1
# See https://gitlab.kitware.com/cmake/cmake/-/issues/25827
if (DEFINED PACKAGE_PREFIX_DIR)
set(NetlibF2C_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")
endif ()
cmake_minimum_required(VERSION @CMAKE_MINIMUM_REQUIRED_VERSION@...@CMAKE_MAXIMUM_SUPPORTED_VERSION@)
include(CMakeFindDependencyMacro)
......@@ -49,12 +43,6 @@ set(
find_dependency(LoadStaticSharedTargets REQUIRED CONFIG)
# TODO: Remove, when CMAKE_MINIMUM_REQUIRED_VERSION >= 3.29.1
# See https://gitlab.kitware.com/cmake/cmake/-/issues/25827
if (DEFINED NetlibF2C_PACKAGE_PREFIX_DIR)
set(PACKAGE_PREFIX_DIR "${NetlibF2C_PACKAGE_PREFIX_DIR}")
endif ()
include(LoadStaticSharedTargets)
load_static_shared_targets(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment