diff --git a/flatpak/uhd-disable-ascii-art-dft.patch b/flatpak/uhd-disable-ascii-art-dft.patch index 2e2ef8694..211fd2377 100644 --- a/flatpak/uhd-disable-ascii-art-dft.patch +++ b/flatpak/uhd-disable-ascii-art-dft.patch @@ -14,24 +14,20 @@ index 69e84f95d..26b2306b4 100644 -if(CURSES_FOUND) - include_directories(${CURSES_INCLUDE_DIR}) - add_executable(rx_ascii_art_dft rx_ascii_art_dft.cpp) -- target_link_libraries(rx_ascii_art_dft -- PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options) +- target_link_libraries(rx_ascii_art_dft uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES}) - UHD_INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples) +#if(CURSES_FOUND) +# include_directories(${CURSES_INCLUDE_DIR}) +# add_executable(rx_ascii_art_dft rx_ascii_art_dft.cpp) -+# target_link_libraries(rx_ascii_art_dft -+# PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options) ++# target_link_libraries(rx_ascii_art_dft uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES}) +# UHD_INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples) - add_executable(twinrx_freq_hopping twinrx_freq_hopping.cpp) -- target_link_libraries(twinrx_freq_hopping -- PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options) +- target_link_libraries(twinrx_freq_hopping uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES}) - UHD_INSTALL(TARGETS twinrx_freq_hopping RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples) -endif(CURSES_FOUND) +# add_executable(twinrx_freq_hopping twinrx_freq_hopping.cpp) -+# target_link_libraries(twinrx_freq_hopping -+# PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options) ++# target_link_libraries(twinrx_freq_hopping uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES}) +# UHD_INSTALL(TARGETS twinrx_freq_hopping RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples) +#endif(CURSES_FOUND) diff --git a/flatpak/uhd-disable-latency-utils.patch b/flatpak/uhd-disable-latency-utils.patch index c2cd6d3aa..4ec02cd3f 100644 --- a/flatpak/uhd-disable-latency-utils.patch +++ b/flatpak/uhd-disable-latency-utils.patch @@ -38,17 +38,15 @@ index e4cd4d171..e806d8da0 100644 - foreach(source ${sources}) - get_filename_component(name ${source} NAME_WE) - add_executable(${name} ${source} ${latency_lib_path}) -- LIBUHD_APPEND_SOURCES(${name}) -- target_link_libraries(${name} -- PUBLIC uhd Boost::program_options ${CURSES_LIBRARIES}) -- UHD_INSTALL(TARGETS ${name} RUNTIME DESTINATION ${latency_comp_dest} COMPONENT ${latency_comp_name}) +- LIBUHD_APPEND_SOURCES(${name}) +- target_link_libraries(${name} uhd ${Boost_LIBRARIES} ${CURSES_LIBRARIES}) +- UHD_INSTALL(TARGETS ${name} RUNTIME DESTINATION ${latency_comp_dest} COMPONENT ${latency_comp_name}) - endforeach(source) +# foreach(source ${sources}) +# get_filename_component(name ${source} NAME_WE) +# add_executable(${name} ${source} ${latency_lib_path}) +# LIBUHD_APPEND_SOURCES(${name}) -+# target_link_libraries(${name} -+# PUBLIC uhd Boost::program_options ${CURSES_LIBRARIES}) ++# target_link_libraries(${name} uhd ${Boost_LIBRARIES} ${CURSES_LIBRARIES}) +# UHD_INSTALL(TARGETS ${name} RUNTIME DESTINATION ${latency_comp_dest} COMPONENT ${latency_comp_name}) +# endforeach(source)