From e282ced609c785b340617f09ae3eab7182102527 Mon Sep 17 00:00:00 2001
From: Philippe Daouadi
Date: Tue, 3 Jan 2012 13:02:33 +0100
Subject: [PATCH] Fixed versioning
---
CMakeLists.txt | 2 +-
config.h.in | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b3b3fbb..3832e32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8)
project(Meteor)
set(METEOR_VERSION_MAJOR 1)
-set(METEOR_VERSION_MINOR 0)
+set(METEOR_VERSION_MINOR 2)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
diff --git a/config.h.in b/config.h.in
index 991d456..0c23885 100644
--- a/config.h.in
+++ b/config.h.in
@@ -4,4 +4,5 @@
#define METEOR_VERSION_MINOR @METEOR_VERSION_MINOR@
#define METEOR_VERSION_I(v1, v2) #v1 "." #v2
-#define METEOR_VERSION METEOR_VERSION_I(METEOR_VERSION_MAJOR, METEOR_VERSION_MINOR)
+#define METEOR_VERSION_II(v1, v2) METEOR_VERSION_I(v1, v2)
+#define METEOR_VERSION METEOR_VERSION_II(METEOR_VERSION_MAJOR, METEOR_VERSION_MINOR)