From f83faf28b3424ba60c3bdc40d408011c9c619c8a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 11 Apr 2019 09:10:53 -0700 Subject: 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 --- host/python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/python') 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) -- cgit v1.2.3