mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
committed by
Baldur Karlsson
parent
fa1b098cc4
commit
db0cf0574c
@@ -53,8 +53,8 @@ set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6)
|
||||
find_package(PythonInterp 3 REQUIRED)
|
||||
find_package(PythonLibs 3 REQUIRED)
|
||||
# we also need python3-config for swig
|
||||
if(NOT EXISTS "${PYTHON_EXECUTABLE}-config" AND NOT EXISTS "${PYTHON_EXECUTABLE}${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}-config")
|
||||
message(FATAL_ERROR "We require ${PYTHON_EXECUTABLE}-config or ${PYTHON_EXECUTABLE}${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}-config to build swig, please install the python dev package for your system.")
|
||||
if(NOT EXISTS "${PYTHON_EXECUTABLE}-config" AND NOT EXISTS "${PYTHON_EXECUTABLE}.${PYTHON_VERSION_MINOR}-config")
|
||||
message(FATAL_ERROR "We require ${PYTHON_EXECUTABLE}-config or ${PYTHON_EXECUTABLE}.${PYTHON_VERSION_MINOR}-config to build swig, please install the python dev package for your system.")
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
|
||||
Reference in New Issue
Block a user