diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-04-11 09:10:53 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-05-24 14:17:13 -0700 |
commit | f83faf28b3424ba60c3bdc40d408011c9c619c8a (patch) | |
tree | 9f3750f097feabe8c9493b8b5b9cc99bab3e7bd2 /host/python/CMakeLists.txt | |
parent | 6563c53743617215a18542db7d7050a04a0d409d (diff) | |
download | uhd-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/CMakeLists.txt')
-rw-r--r-- | host/python/CMakeLists.txt | 2 |
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) |