CMake housekeeping.
* Remove CMakeParseArguments.cmake to use the version that ships with CMake. * Remove FindPackageHandleStandardArgs.cmake to use the version that ships with CMake. * Remove FindPythonLibs.cmake to use the version that ships with CMake. * Edit FindPythonInterp.cmake to use the stock CMake version of FindPackageHandleStandardArgs.cmake since the local version was removed.
This commit is contained in:
@@ -91,7 +91,7 @@ unset(_PYTHON3_VERSIONS)
|
||||
|
||||
# Search for newest python version if python executable isn't found
|
||||
if(NOT PYTHON_EXECUTABLE)
|
||||
|
||||
|
||||
# If using the MINGW compiler, we mustn't find the standard python
|
||||
# distribution because of multiple C-Runtime errors. We must instead
|
||||
# use the Python-a-mingw-us distribution
|
||||
@@ -110,7 +110,7 @@ if(NOT PYTHON_EXECUTABLE)
|
||||
else()
|
||||
list( APPEND _Python_PPATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath] )
|
||||
endif()
|
||||
|
||||
|
||||
foreach(_CURRENT_VERSION ${_Python_VERSIONS})
|
||||
set(_Python_NAMES python${_CURRENT_VERSION})
|
||||
if(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user