Include an OOT module in another OOT module?

Let’s say I’ve made two OOT projects called gr-first and gr-second. I
want to link gr-second against gr-first, but CMake isn’t finding it.

gr-first/CMakeLists.txt seems to install a helper file:
$PREFIX/lib/cmake/first/firstConfig.cmake

In gr-second/CMakeLists.txt, I add a line:

find_package(first)

But this does not work. I also tried

include(firstConfig)

find_package(first)

I guess I can hack something together using an example like gr-osmosdr,
which depends on gr-iqbalance. Although if possible, I’d like to use the
default helper file and get that working, since that’s the whole point
of having a helper file. Any hints?

Thanks,

Sean

?Strange. It is now working for me, and I don’t know what I did to break
or fix it.

Sean


From: [email protected]n.invalid
[email protected]n.invalid on behalf
of Nowlan, Sean [email protected]
Sent: Saturday, June 27, 2015 6:27 PM
To: [email protected]
Subject: [Discuss-gnuradio] Include an OOT module in another OOT module?

Let’s say I’ve made two OOT projects called gr-first and gr-second. I
want to link gr-second against gr-first, but CMake isn’t finding it.

gr-first/CMakeLists.txt seems to install a helper file:
$PREFIX/lib/cmake/first/firstConfig.cmake

In gr-second/CMakeLists.txt, I add a line:

find_package(first)

But this does not work. I also tried

include(firstConfig)

find_package(first)

I guess I can hack something together using an example like gr-osmosdr,
which depends on gr-iqbalance. Although if possible, I’d like to use the
default helper file and get that working, since that’s the whole point
of having a helper file. Any hints?

Thanks,

Sean

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs