summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-08-24 16:23:46 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-08-24 16:56:48 -0300
commitf05cca8aae3211c2691e47c0740fc87ba988822b (patch)
treeb38f04f79032ec0c537e9c98d216ec8e1edb5617 /CMakeLists.txt
parent74e87b6728286b61560fe636a3ab66c746805630 (diff)
Write the pyside version variable on cmake cache.
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 <luciano.wolf@openbossa.org> Renato Ara├║jo <renato.filho@openbossa.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06b729ec..3f5dc7e0 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)