aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-23 11:36:48 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-23 13:50:38 -0300
commitc91f618bf3275914bbe02ea91a19a86516a045d1 (patch)
treee4ecc2594faadffbad5d71721c5c871e4ab45bde
parent61ce86f9fa8865161a1a3b06f0b2b88760be224b (diff)
Bump version to 0.3.0.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
-rw-r--r--CMakeLists.txt5
-rw-r--r--libpyside/PySideVersion.cmake.in6
2 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2abd92a15..4f6a44c29 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,8 +24,9 @@ find_package(Qt4 4.5.0 REQUIRED)
set(BINDING_NAME PySide)
set(BINDING_API_MAJOR_VERSION "0")
-set(BINDING_API_MINOR_VERSION "1")
-set(BINDING_API_VERSION "${BINDING_API_MAJOR_VERSION}.${BINDING_API_MINOR_VERSION}")
+set(BINDING_API_MINOR_VERSION "3")
+set(BINDING_API_MICRO_VERSION "0")
+set(BINDING_API_VERSION "${BINDING_API_MAJOR_VERSION}.${BINDING_API_MINOR_VERSION}.${BINDING_API_MICRO_VERSION}")
set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE)
diff --git a/libpyside/PySideVersion.cmake.in b/libpyside/PySideVersion.cmake.in
index e3c216e07..c64468622 100644
--- a/libpyside/PySideVersion.cmake.in
+++ b/libpyside/PySideVersion.cmake.in
@@ -1,7 +1,9 @@
set(PACKAGE_VERSION @BINDING_API_VERSION@)
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL @BINDING_API_MAJOR_VERSION@)
- set(PACKAGE_VERSION_COMPATIBLE 1)
if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL @BINDING_API_MINOR_VERSION@)
- set(PACKAGE_VERSION_EXACT 1)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_PATCH}" EQUAL @BINDING_API_MICRO_VERSION@)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif()
endif()
endif()