1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-11-20 15:14:07 -05:00
sdrangel/flatpak/uhd-disable-ascii-art-dft.patch
AsciiWolf f77720f25b Update Flatpak manifest
Sync with Flathub
2025-11-16 01:32:26 +01:00

36 lines
1.8 KiB
Diff

diff --git a/host/examples/CMakeLists.txt b/host/examples/CMakeLists.txt
index 69e84f95d..26b2306b4 100644
--- a/host/examples/CMakeLists.txt
+++ b/host/examples/CMakeLists.txt
@@ -51,19 +51,19 @@ endforeach(example_source)
########################################################################
# ASCII Art DFT - requires curses, so this part is optional
########################################################################
-set(CURSES_NEED_NCURSES 1)
-find_package(Curses)
+#set(CURSES_NEED_NCURSES 1)
+#find_package(Curses)
-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 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 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 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 uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES})
+# UHD_INSTALL(TARGETS twinrx_freq_hopping RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
+#endif(CURSES_FOUND)
########################################################################
# Examples using C API