Skip to content

Commit

Permalink
cmake: detect highest python version installed
Browse files Browse the repository at this point in the history
Macro for python detection was taking old version installed for
compatability (needed by the zephyr SDK for gdb). Make the macro detect
latest version installed instead.

Fixes zephyrproject-rtos#24252.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif committed Apr 11, 2020
1 parent d280660 commit 88b2d68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmake/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ endif()
set(PythonInterp_FIND_VERSION 3.6)
set(PythonInterp_FIND_VERSION_COUNT 2)
set(PythonInterp_FIND_VERSION_MAJOR 3)
set(PythonInterp_FIND_VERSION_MINOR 6)
set(PythonInterp_FIND_VERSION_EXACT 0)
set(PythonInterp_FIND_REQUIRED 1)
include(${ZEPHYR_BASE}/cmake/backports/FindPythonInterp.cmake)

0 comments on commit 88b2d68

Please sign in to comment.