Skip to content

Commit

Permalink
BUG: _Python3_EXECUTABLE -> _specified_Python3_EXECUTABLE
Browse files Browse the repository at this point in the history
Incomplete refactoring seems to have been performed to
change the variable name.
  • Loading branch information
hjmjohnson authored and dzenanz committed Aug 21, 2022
1 parent 55c7b7f commit 4a019c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMake/ITKSetPython3Vars.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(PYTHON_DEVELOPMENT_REQUIRED)
else() # if not PYTHON_DEVELOPMENT_REQUIRED, just find some version of Python (don't need to be as specific)
find_package(Python3 COMPONENTS Interpreter)
endif()
if(NOT Python3_EXECUTABLE AND _Python3_EXECUTABLE) # workaround for cases where FindPython3 fails to set correctly
set(Python3_EXECUTABLE ${_Python3_EXECUTABLE} CACHE INTERNAL
if(NOT Python3_EXECUTABLE AND _specified_Python3_EXECUTABLE) # workaround for cases where FindPython3 fails to set correctly
set(Python3_EXECUTABLE ${_specified_Python3_EXECUTABLE} CACHE INTERNAL
"Path to the Python interpreter" FORCE)
endif()

0 comments on commit 4a019c5

Please sign in to comment.