If I try to build with this configuration, libcyberradio builds and installs just fine, but gr-CyberRadio fails with
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBCYBERRADIO_LIB (ADVANCED)
linked by target "gnuradio-CyberRadio" in directory /tmp/gr-cyberradio/gr-CyberRadio/lib
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
The issue is in LibCyberRadioConfig.cmake as installed in /opt/foss/lib64/cmake/libcyberradio. I don't think there is any reason for the NO_DEFAULT_PATH statement in the FIND_PATH and FIND_LIBRARY statements. If I remove those lines, the build works properly.
Using the maint-3.8 branch, if I try to install in a non-standard location (/opt/foss) then gr-CyberRadio can't find libcyberradio.
The following commands are in my Dockerfile:
If I try to build with this configuration, libcyberradio builds and installs just fine, but gr-CyberRadio fails with
The issue is in
LibCyberRadioConfig.cmake
as installed in /opt/foss/lib64/cmake/libcyberradio. I don't think there is any reason for theNO_DEFAULT_PATH
statement in theFIND_PATH
andFIND_LIBRARY
statements. If I remove those lines, the build works properly.