mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
CMake recommends finding PythonInterp before PythonLibs
This commit is contained in:
@@ -50,8 +50,8 @@ endif()
|
||||
|
||||
# Make sure Python 3 is found
|
||||
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6)
|
||||
find_package(PythonLibs 3 REQUIRED)
|
||||
find_package(PythonInterp 3 REQUIRED)
|
||||
find_package(PythonLibs 3 REQUIRED)
|
||||
# we also need python3-config for swig
|
||||
if(NOT EXISTS "${PYTHON_EXECUTABLE}-config")
|
||||
message(FATAL_ERROR "We require python3-config to build swig, please install the python dev package for your system.")
|
||||
|
||||
Reference in New Issue
Block a user