From f05cca8aae3211c2691e47c0740fc87ba988822b Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Tue, 24 Aug 2010 16:23:46 -0300 Subject: Write the pyside version variable on cmake cache. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the pyside version variable on cmake cache, the script used to create the windows installer can discover the PySide version being compiled. Reviewer: Luciano Wolf Renato Araújo --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 06b729ec2..3f5dc7e07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ set(BINDING_NAME PySide) 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}") +set(BINDING_API_VERSION "${BINDING_API_MAJOR_VERSION}.${BINDING_API_MINOR_VERSION}.${BINDING_API_MICRO_VERSION}" CACHE STRING "PySide version" FORCE) include(${QT_USE_FILE}) if (${QTVERSION} VERSION_LESS 4.5.0) -- cgit v1.2.3