From cee5b2807ec56e78fb637d0ead0cfe4caf376392 Mon Sep 17 00:00:00 2001 From: Fabio Rossi Date: Thu, 1 Feb 2018 18:04:26 +0100 Subject: [PATCH] Another fix to compile against qt5 with python2 (detection of shiboken2) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b9bdf9f7a..3ecfe23a67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -924,10 +924,10 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") # Below are two variables that can be left empty for standard python 3 version, # but must be set by the user for different python versions such as 2.7, 3.5 ... if (PYTHON_VERSION_MAJOR LESS 3) - SET(PYTHON_SUFFIX -python2.7 CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: ") + SET(PYTHON_CONFIG_SUFFIX -python2.7 CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: ") SET(PYTHON_BASENAME -python2.7 CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: ") else() - SET(PYTHON_SUFFIX "" CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: ") + SET(PYTHON_CONFIG_SUFFIX "" CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: ") SET(PYTHON_BASENAME "" CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: ") endif()