diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-27 16:37:08 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-27 16:37:08 -0700 |
commit | f9edd3865ca0f61a9e80fd917521b49292d5ecb1 (patch) | |
tree | 5afaf7a691dbb5849c624c8af46501ddd414be9e /host/examples/CMakeLists.txt | |
parent | 971f6de77c6b67515b5d37d748e823da155b310c (diff) | |
parent | 630c007bbbabce90ffe3578d47ad7acc187bdc30 (diff) | |
download | uhd-f9edd3865ca0f61a9e80fd917521b49292d5ecb1.tar.gz uhd-f9edd3865ca0f61a9e80fd917521b49292d5ecb1.tar.bz2 uhd-f9edd3865ca0f61a9e80fd917521b49292d5ecb1.zip |
Merge branch 'next' into flow_ctrl
Conflicts:
host/include/uhd/types/metadata.hpp
Diffstat (limited to 'host/examples/CMakeLists.txt')
-rw-r--r-- | host/examples/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/host/examples/CMakeLists.txt b/host/examples/CMakeLists.txt index d19838335..a8873f8d3 100644 --- a/host/examples/CMakeLists.txt +++ b/host/examples/CMakeLists.txt @@ -43,3 +43,15 @@ INSTALL(TARGETS tx_waveforms RUNTIME DESTINATION ${PKG_DATA_DIR}/examples ) + +######################################################################## +# ASCII Art DFT - requires curses, so this part is optional +######################################################################## +INCLUDE(FindCurses) + +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}) + INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_DATA_DIR}/examples) +ENDIF(CURSES_FOUND) |