diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-04 11:15:56 -0500 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-04 11:15:56 -0500 |
commit | 148e3856823e93b4e3ae0b178107f4b905879de5 (patch) | |
tree | 2ef02f3e2501e941d08ce4f0998027aba8e11735 | |
parent | 9d13960d8fb4303979b7986db8c9e1f2c8565312 (diff) | |
download | uhd-148e3856823e93b4e3ae0b178107f4b905879de5.tar.gz uhd-148e3856823e93b4e3ae0b178107f4b905879de5.tar.bz2 uhd-148e3856823e93b4e3ae0b178107f4b905879de5.zip |
uhd: only enable C when we are building the USRP-E100 utilty apps
-rw-r--r-- | host/CMakeLists.txt | 2 | ||||
-rw-r--r-- | host/utils/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index e5ce78782..75331ddfc 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -16,7 +16,7 @@ # CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(UHD CXX C) +PROJECT(UHD CXX) ENABLE_TESTING() ######################################################################## diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt index 0edf5a78c..ff048beb0 100644 --- a/host/utils/CMakeLists.txt +++ b/host/utils/CMakeLists.txt @@ -46,6 +46,7 @@ IF(ENABLE_USRP1) ENDIF(ENABLE_USRP1) IF(ENABLE_USRP_E100) + ENABLE_LANGUAGE(C) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib/usrp/usrp_e100/include) LIST(APPEND util_share_sources fpga-downloader.cpp |