-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake: No UHD::uhd exported target #23
Comments
Hi! |
For a short-term fix, try removing the UHD::uhd line from gr-sparsdr/lib/CMakeLists.txt. That worked for one person. To help me reproduce your exact problem and check that the fix works, what version of GNU Radio do you have? What method did you use to install GNU Radio and UHD? |
CMake Error at lib/CMakeLists.txt:58 (add_library): but still problem is remained same: Target "gnuradio-sparsdr" links to target "UHD::uhd" but the target was not CMake Error at /usr/local/lib/cmake/gnuradio/GrTest.cmake:163 (add_executable): Any Fix yet plz. |
What version of UHD do you have, and how did you install it? |
On some systems, the FindUHD.cmake file that's already installed runs and finds UHD, but does not produce a UHD::uhd exported target.
We should look at that FindUHD.cmake file and see what it does. This might require going back to the old method of linking libraries and adding include directories.
The text was updated successfully, but these errors were encountered: