Skip to content
Snippets Groups Projects
Commit 9438d923 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Merge branch 'feature/prevent-incompatible-cmake-3.29.1' into 'master'

[cmake] Prevent use of incomaptible CMake version 3.29.1

See merge request !1368
parents e547ab20 c71fb236
Branches
Tags
1 merge request!1368[cmake] Prevent use of incomaptible CMake version 3.29.1
Pipeline #70621 waiting for manual action
......@@ -4,6 +4,11 @@
cmake_minimum_required(VERSION 3.16)
project(dune-common LANGUAGES C CXX)
# CMake 3.29.1 is incompatible as it removed PACKAGE_PREFIX_DIR
if (CMAKE_VERSION VERSION_EQUAL 3.29.1)
message(FATAL_ERROR "CMake 3.29.1 is not compatible with Dune. Use a different CMake version.")
endif()
# make sure our own modules are found
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment