mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
CMake: Don't use PythonInterp/PythonLibs when FindPython available
This commit is contained in:
parent
1c866dff78
commit
0b342d0f9f
@ -120,7 +120,7 @@ if(Python_FOUND)
|
||||
set(PYTHON_LIBRARY_DIRS ${Python_LIBRARY_DIRS})
|
||||
set(PYTHON_VERSION_STRING ${Python_VERSION})
|
||||
|
||||
else()
|
||||
elseif(CMAKE_VERSION VERSION_LESS "3.12")
|
||||
find_package(PythonInterp ${WANT_PYTHON_VERSION} QUIET)
|
||||
find_package(PythonLibs ${PYTHON_VERSION_STRING} QUIET)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user