1- PROJECT (qgis0.11.0)
21SET (CPACK_PACKAGE_VERSION_MAJOR "0" )
32SET (CPACK_PACKAGE_VERSION_MINOR "11" )
43SET (CPACK_PACKAGE_VERSION_PATCH "0" )
4+ SET (COMPLETE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR} .${CPACK_PACKAGE_VERSION_MINOR} .${CPACK_PACKAGE_VERSION_PATCH} )^
55SET (RELEASE_NAME "Metis" )
6-
7- SET (PROJECT_VERSION ${CPACK_PACKAGE_VERSION_MAJOR} .${CPACK_PACKAGE_VERSION_MINOR} .${CPACK_PACKAGE_VERSION_PATCH} )
8-
6+ SET (PROJECT_VERSION ${COMPLETE_VERSION} )
97PROJECT (qgis${PROJECT_VERSION} )
108
119
@@ -14,7 +12,9 @@ PROJECT(qgis${PROJECT_VERSION})
1412# - nice output when configured
1513# - rename *.ui files to have the same filename as their implementation
1614# e.g. instead of blahblahbase.ui use blahblah.ui
17- # because it's more common in Qt4
15+ # because it's more common in Qt4
16+ # Note on last point above by Tim Sutton - I prefer to have the base suffix
17+ # as it indicates the ui generated class will be a base class for the widget.
1818
1919#############################################################
2020# CMake settings
@@ -360,7 +360,7 @@ SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Quantum GIS")
360360SET (CPACK_PACKAGE_VENDOR "Open Source Geospatial Foundation" )
361361SET (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR} /README" )
362362SET (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR} /COPYING" )
363- SET (CPACK_PACKAGE_INSTALL_DIRECTORY "Quantum GIS ${CPACK_PACKAGE_VERSION_MAJOR} . ${CPACK_PACKAGE_VERSION_MINOR } " )
363+ SET (CPACK_PACKAGE_INSTALL_DIRECTORY "Quantum GIS ${COMPLETE_VERSION } " )
364364IF (WIN32 AND NOT UNIX )
365365 # There is a bug in NSI that does not handle full unix paths properly. Make
366366 # sure there is at least one set of four (4) backslashes.
0 commit comments