aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs/build.dox.in
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/docs/build.dox.in
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/docs/build.dox.in')
-rw-r--r--host/docs/build.dox.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/host/docs/build.dox.in b/host/docs/build.dox.in
index 9e4f91ce4..1d9d9a0fe 100644
--- a/host/docs/build.dox.in
+++ b/host/docs/build.dox.in
@@ -220,10 +220,8 @@ extensions:
\subsection cmake_win Generate the project with CMake
-- Enable Python3 option in the CMake list if the version of installed Python is >=3, otherwise go to the next step.
- - Go to the source code: `<uhd-repo-path>/host`.
- - Open 'CMakeLists.txt'.
- - Find 'ENABLE_PYTHON3' option and set it to 'ON', e.g. 'option(ENABLE_PYTHON3 "Enable Python 3. Default is Python 2" ON)'.
+- Make sure the version of Python that CMake detects matches the version you
+ want it to be (check the PYTHON_VERSION variable)
- Open the CMake GUI.
- Set the path to the source code: `<uhd-repo-path>/host`.
- Set the path to the build directory (this may require creating the folder \build\): `<uhd-repo-path>/host/build`.