[PATCH] [dunecontrol] Skip directories without CMake config files for module_DIR
authorMarkus Blatt <markus@dr-blatt.de>
Wed, 20 Nov 2024 10:39:10 +0000 (11:39 +0100)
committerMarkus Blatt <markus@dr-blatt.de>
Fri, 22 Nov 2024 14:28:16 +0000 (15:28 +0100)
commit9d0228ba884f6df2b20130b85ab528914f09bb8a
tree863983363fc8644a4c0c62d9af14ecf56d66e002
parent84a49ac21ffa0d2d77837ac8029872caa957213e
[PATCH] [dunecontrol] Skip directories without CMake config files for module_DIR

find_package(module) will fail if the directory set with module_DIR
does not contain CMake configuration file.

Hence the current approach requires that there are pkgconfig files
installed and found for each module to be used.

With this change we fall back to installed modules if the directory
does not contain any Cmake configuration files.

This fixes problems with using OPM as DUNE modules (in Debian) which
stopped shipping broken pkgconf file 2023-09

Gbp-Pq: Name dunecontrol-Skip-directories-without-CMake-config-fi.patch
bin/dunecontrol