Sorry for the delay, Ben!
Here’s a minimal example within what I interacted with the problem: GitHub - joseviccruz/cmake-module-error
In this test I use the GoogleTest library, installed in the /opt
directory.
The three root scripts execute the installation of a simple library with a header or module in /usr/local
and then try to execute that library in another project.