From 348bfbce012e31ce69b40acb445ccd9c6b6ad6c7 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 9 Jun 2017 21:38:52 +0100 Subject: [PATCH] CMake recommends finding PythonInterp before PythonLibs --- qrenderdoc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/CMakeLists.txt b/qrenderdoc/CMakeLists.txt index b6863a2c8..dca644022 100644 --- a/qrenderdoc/CMakeLists.txt +++ b/qrenderdoc/CMakeLists.txt @@ -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.")