examples: Added UHD library dir to CMakeLists.txt

without, linkage fails if UHD shared library is not installed in the
default location on Fedora 22.
This commit is contained in:
Marcus Müller 2015-09-17 15:58:35 +02:00
parent 7a05d9f993
commit 6a3e39534b
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@
# and at http://www.gnu.org/licenses/.
#
IF(UHD_FOUND)
LINK_DIRECTORIES(${UHD_LIBRARY_DIRS})
ENDIF(UHD_FOUND)
#################################################################
# EXAMPLES