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

[cmake] Prevent use of incomaptible CMake version 3.29.1

parent e547ab20
Branches
Tags
1 merge request!1368[cmake] Prevent use of incomaptible CMake version 3.29.1
Pipeline #70604 passed
Pipeline: Dune Nightly Test

#70617

    Pipeline: Dune Nightly Test

    #70609

      ......@@ -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