From: Martin Quinson Date: Mon, 27 Jun 2011 12:06:43 +0000 (+0200) Subject: include patch version in release number so that archives are correctly numbered X-Git-Tag: v3_6_1~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/872b9f83b1277dd8a4979ba2aace9f0c518c0b1a include patch version in release number so that archives are correctly numbered --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cd24ab12f5..1c4281c8d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,11 @@ set(SIMGRID_VERSION_MAJOR "3") set(SIMGRID_VERSION_MINOR "6") set(SIMGRID_VERSION_PATCH "1") -set(release_version "${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}") +if(${SIMGRID_VERSION_PATCH} EQUAL "0") + set(release_version "${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}") +else(${SIMGRID_VERSION_PATCH} EQUAL "0") + set(release_version "${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}.${SIMGRID_VERSION_PATCH}") +endif(${SIMGRID_VERSION_PATCH} EQUAL "0") set(libsimgrid_version "${release_version}") set(libgras_version "${release_version}") set(libsmpi_version "${release_version}")