aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
Diffstat (limited to 'host/python')
-rw-r--r--host/python/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/python/CMakeLists.txt b/host/python/CMakeLists.txt
index a8d974936..d4417903d 100644
--- a/host/python/CMakeLists.txt
+++ b/host/python/CMakeLists.txt
@@ -29,7 +29,10 @@ execute_process(
OUTPUT_VARIABLE PYTHON_NUMPY_INCLUDE_DIR)
# Build pyuhd library
-add_library(pyuhd SHARED pyuhd.cpp)
+add_library(pyuhd SHARED
+ pyuhd.cpp
+ ${CMAKE_SOURCE_DIR}/lib/usrp/multi_usrp_python.cpp
+)
# python expects extension modules with a particular suffix
if(WIN32)
set_target_properties(pyuhd PROPERTIES PREFIX "lib" SUFFIX ".pyd")