gr-osmosdr/lib/uhd/CMakeLists.txt

40 lines
1.5 KiB
CMake
Raw Normal View History

2012-04-26 17:20:16 +00:00
# Copyright 2012 Free Software Foundation, Inc.
#
# This file is part of gr-osmosdr
2012-04-26 17:20:16 +00:00
#
# gr-osmosdr is free software; you can redistribute it and/or modify
2012-04-26 17:20:16 +00:00
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# gr-osmosdr is distributed in the hope that it will be useful,
2012-04-26 17:20:16 +00:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with gr-osmosdr; see the file COPYING. If not, write to
2012-04-26 17:20:16 +00:00
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
########################################################################
# This file included, use CMake directory variables
########################################################################
2013-03-12 19:17:24 +00:00
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${GNURADIO_UHD_INCLUDE_DIRS}
${UHD_INCLUDE_DIRS}
)
2012-04-26 17:20:16 +00:00
set(uhd_srcs
2013-05-07 20:46:07 +00:00
${CMAKE_CURRENT_SOURCE_DIR}/uhd_sink_c.cc
2012-04-26 17:20:16 +00:00
${CMAKE_CURRENT_SOURCE_DIR}/uhd_source_c.cc
)
########################################################################
# Append gnuradio-osmosdr library sources
########################################################################
list(APPEND gr_osmosdr_srcs ${uhd_srcs})
list(APPEND gr_osmosdr_libs ${GNURADIO_UHD_LIBRARIES} ${UHD_LIBRARIES})