[PATCH] [dunecontrol] Module without CMakeLists.txt next to dune.module is installed
authorMarkus Blatt <markus@dr-blatt.de>
Wed, 20 Nov 2024 11:10:33 +0000 (12:10 +0100)
committerMarkus Blatt <markus@dr-blatt.de>
Fri, 22 Nov 2024 14:28:16 +0000 (15:28 +0100)
commit84a49ac21ffa0d2d77837ac8029872caa957213e
tree4ab44f4e959ea78d7dd6fb2d8f63e4fbcb6eac8b
parent3ed729a0eec6c0e792e05a9b0629559dcff682b0
[PATCH] [dunecontrol] Module without CMakeLists.txt next to dune.module is installed

The decision whether a module is installed is usually based on whether
pkgconfig was able to find it. If the DUNE module does not ship  a
pkgconf file or pkgconf is missing, then dunecontrol tries to build
this installed modules, too. That fails miserably.

With this commit we add a check at the end that checks whether
there is a CMakeLists.txt file in the source directory of the
module. This directory is where the dune.module file was found. If
there is none we also assume that the module is installed and do not
try to build it.

Gbp-Pq: Name dunecontrol-Module-without-CMakeLists.txt-next-to-du.patch
lib/dunemodules.lib