gr-osmosdr/python/CMakeLists.txt

34 lines
974 B
CMake
Raw Normal View History

2012-04-06 13:29:14 +00:00
# Copyright 2011 Free Software Foundation, Inc.
2012-04-29 11:15:02 +00:00
#
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-osmosdr
2012-04-29 11:15:02 +00:00
#
# SPDX-License-Identifier: GPL-3.0-or-later
2012-04-29 11:15:02 +00:00
#
2012-04-06 13:29:14 +00:00
########################################################################
# Include python install macros
########################################################################
include(GrPython)
if(NOT PYTHONINTERP_FOUND)
return()
endif()
add_subdirectory(bindings)
2012-04-06 13:29:14 +00:00
########################################################################
# Install python sources
########################################################################
GR_PYTHON_INSTALL(
FILES
__init__.py
DESTINATION ${GR_PYTHON_DIR}/osmosdr
)
########################################################################
# Handle the unit tests
########################################################################
include(GrTest)
set(GR_TEST_TARGET_DEPS gnuradio-osmosdr)