Skip to content
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

Add uhd cmake #16

Closed
wants to merge 2 commits into from
Closed

Conversation

michaelld
Copy link
Collaborator

I've added in the final tweaks to get this system working. I'll do the same on the GR side right after this one. These changes will work no matter if "find_package(UHD ...)" is issued from within GR or otherwise, and takes care of the condition that "find_package(gnuradio ...)" is issued -before- the UHD find_package, and thus that GR's FindUHD.cmake is called first. The ENV variables allow FindUHD.cmake to determine that UHDConfig* were actually used, and thus to determine whether to do a check itself (or, not). What fun! - MLD

…LES_DIR if provided (default value is "lib${LIB_SUFFIX}/cmake/"). Tested to work with GR's new FindUHD.cmake (as a daisy-chained "find_package(UHD ...)") as well as directly.
…were actually used; UHDConfig*.cmake are not always allowed to use CACHE variables, thus the use of ENV.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant