Skip to content
Permalink
Browse files

CMake: Don't use PythonInterp/PythonLibs when FindPython available

  • Loading branch information
CFSworks committed Nov 11, 2019
1 parent 1c866df commit 0b342d0f9fd6882e35a0507e798ab7520e8a741f
Showing with 1 addition and 1 deletion.
  1. +1 −1 dtool/Package.cmake
@@ -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)

0 comments on commit 0b342d0

Please sign in to comment.
You can’t perform that action at this time.