diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-27 08:07:45 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-27 08:07:45 -0700 |
commit | 4fb937339bbe95091b5a22276d9618dc8e178f68 (patch) | |
tree | 61a604de6ab352bfe3d90fdc77e0d92ea8501bfc /host/examples/CMakeLists.txt | |
parent | db0e3e574e9058ad51cacea91ccc42f0baed95fa (diff) | |
parent | a7840ebb3f7d7f807d05059e2809eb45cff04899 (diff) | |
download | uhd-4fb937339bbe95091b5a22276d9618dc8e178f68.tar.gz uhd-4fb937339bbe95091b5a22276d9618dc8e178f68.tar.bz2 uhd-4fb937339bbe95091b5a22276d9618dc8e178f68.zip |
Merge branch 'next' into usrp_e
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 3b36f3e71..3203cffc0 100644 --- a/host/examples/CMakeLists.txt +++ b/host/examples/CMakeLists.txt @@ -55,3 +55,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) |