Skip to content
Snippets Groups Projects
Commit 5b98bc19 authored by Markus Blatt's avatar Markus Blatt
Browse files

[cmake,release] Test version with cmake and fix requiredness.

Before this patch we always relied on dunecontrol/pkg-config to check
for the correct version. With this patch we include this functionality
also when building packges with dunecontrol for this use part of the version
checking of cmake (or pkg-config if there are packages without CMake support).
Basically we let CMake check wether the major and minor version matches and
afterwards use the information from the dune.module file. This should make
it possible to have several versions of DUNE installed and still always use
the correct version. During fixing these issues we noticed that our version
files were not recognized because the carried the wrong name. Now we use the
correct name <dune-module>-config-version.cmake.
(cherry picked from commit 2d20c167)

Resoved conflicts:
	cmake/modules/DuneMacros.cmake
parent b4576042
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment