You just use find_package() now. Here's an example:
https://github.com/drmpeg/gr-atsc3/blob/master/CMakeLists.txt#L77
You also have to link to the modules in lib/CMakeLists.txt. Like so:
https://github.com/drmpeg/gr-atsc3/blob/master/lib/CMakeLists.txt#L42
Ron
On 6/12/23 00:01, Ali G. Dezfuli wrote:
Hi all,
I'd like to use libgnuradio-filter in my OOT module/blocks.
I've read the following link which is about configuring OOT modules
for adding other parts of gnuradio:
https://wiki.gnuradio.org/index.php/OutOfTreeModulesConfig
I couldn't find the line:
set(GR_REQUIRED_COMPONENTS RUNTIME)
in the root cmakelists.txt file the OOT module (e.g. here gr-howto).
I wonder how I can manage that in newer versions.
Versions are:
GR v3.10.6.0Ubuntu 22.04
Thank you very much!