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()