From 95e6f790de7b67df1c68f6c492c9b4e338492d25 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 10 Sep 2010 10:17:53 -0300 Subject: Add PYSIDE_QT_VERSION to CMakeCache.txt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This variable stores the Qt version used to compile PySide, so installers and packages can guess the min Qt version required to run PySide. Reviewer: Renato Araújo Luciano Wolf --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index bd2146ad1..1b99350e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,7 @@ set(BINDING_API_MAJOR_VERSION "0") set(BINDING_API_MINOR_VERSION "4") set(BINDING_API_MICRO_VERSION "1") set(BINDING_API_VERSION "${BINDING_API_MAJOR_VERSION}.${BINDING_API_MINOR_VERSION}.${BINDING_API_MICRO_VERSION}" CACHE STRING "PySide version" FORCE) +set(PYSIDE_QT_VERSION "${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}" CACHE STRING "Qt version used to compile PySide" FORCE) include(${QT_USE_FILE}) if (${QTVERSION} VERSION_LESS 4.5.0) -- cgit v1.2.3