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

Feature request: cmake alias library #626

Open
pfeatherstone opened this issue Aug 26, 2022 · 0 comments
Open

Feature request: cmake alias library #626

pfeatherstone opened this issue Aug 26, 2022 · 0 comments

Comments

@pfeatherstone
Copy link

Feature request

It would be great if you could do this in cmake:

add_executable(myexe ...)
target_link_libraries(myexe PRIVATE UHD::UHD) # For dynamic linking
target_link_libraries(myexe PRIVATE UHD::UHD_STATIC) # For static linking

Then we wouldn't have to worry about all of the following:

  • ${Boost_INCLUDE_DIRS}
  • ${UHD_INCLUDE_DIRS}
  • UHD_USE_STATIC_LIBS
  • ${Boost_LIBRARY_DIRS}
  • ${UHD_LIBRARIES}
  • ${UHD_STATIC_LIB_LINK_FLAG}
  • ${UHD_STATIC_LIB_DEPS}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants