add uhd dependency to cmake

This commit is contained in:
Bastian Bloessl
2013-12-22 19:46:46 +01:00
parent bc35c36eae
commit e5e4c1eefd
3 changed files with 42 additions and 3 deletions
+5
View File
@@ -43,6 +43,11 @@ if(NOT WIN32)
add_definitions(-std=c++0x)
endif()
find_package(UHD)
if(NOT UHD_FOUND)
message(FATAL_ERROR "UHD library not found.")
endif()
########################################################################
# Find boost
########################################################################