Open pfeatherstone opened 1 year ago
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}
Feature request
It would be great if you could do this in cmake:
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}