On Tue, Sep 2, 2014 at 3:46 AM, Bastian Bloessl <bloe...@ccs-labs.org>
wrote:

> On 09/02/2014 08:52 AM, zhangwen wrote:
>
>> CMake Warning at CMakeLists.txt:85 (find_package):
>>    By not providing "FindCppUnit.cmake" in CMAKE_MODULE_PATH this
>> project has
>>    asked CMake to find a package configuration file provided by
>> "CppUnit", but
>>    CMake did not find one.
>>
>
>
> Oooops, looks like I delete a bit too much files from cmake/Modules. I
> just restored them. Can you please try again?
>
> But, actually that's a good opportunity to ask what an OOT module has to
> install. Actually, I thought FindCppUnit.cmake is installed with GNU Radio
>
> https://github.com/gnuradio/gnuradio/blob/master/CMakeLists.txt#L391
>
> So maybe it is just a matter of adapting ${CMAKE_MODULE_PATH}?
>
> For now I just did it as gr-fosphor :-)
>
> Best,
> Bastian
>

Yes, GNU Radio installs FindCppUnit.cmake, so you're probably right about
just having to tell cmake the right place to look for this. Cmake can be
funny about that stuff. Instead, that's why when you build a project with
gr_modtool it puts all of the cmake files into the project for you. Just to
be sure you can always reach them in your project.

Tom
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to