aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-04-11 09:10:53 -0700
committerMartin Braun <martin.braun@ettus.com>2019-05-24 14:17:13 -0700
commitf83faf28b3424ba60c3bdc40d408011c9c619c8a (patch)
tree9f3750f097feabe8c9493b8b5b9cc99bab3e7bd2 /host/python
parent6563c53743617215a18542db7d7050a04a0d409d (diff)
downloaduhd-f83faf28b3424ba60c3bdc40d408011c9c619c8a.tar.gz
uhd-f83faf28b3424ba60c3bdc40d408011c9c619c8a.tar.bz2
uhd-f83faf28b3424ba60c3bdc40d408011c9c619c8a.zip
cmake: Remove ENABLE_PYTHON3 flag and simplify Python detection
- Makes use of more modern find_package(Python2/3) if available - Moves almost all Python-related code to UHDPython.cmake - ENABLE_PYTHON3 is no longer necessary
Diffstat (limited to 'host/python')
-rw-r--r--host/python/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/python/CMakeLists.txt b/host/python/CMakeLists.txt
index 7aae1dfeb..5598dda24 100644
--- a/host/python/CMakeLists.txt
+++ b/host/python/CMakeLists.txt
@@ -36,7 +36,7 @@ target_include_directories(pyuhd PUBLIC
${PYBIND11_INCLUDE_DIR}
)
-target_link_libraries(pyuhd ${Boost_LIBRARIES} ${PYTHON_LIBRARY} uhd)
+target_link_libraries(pyuhd ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} uhd)
# Copy pyuhd library to the staging directory
if(WIN32)
set(PYUHD_LIBRARY_NAME libpyuhd.pyd)