aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Thomas <alec@swapoff.org>2015-04-25 13:04:29 +1000
committerAlec Thomas <alec@swapoff.org>2015-04-25 13:04:29 +1000
commit422641532eb3e1643031f05b150205cc2402c7ae (patch)
tree869b5443eaed73e2ebbd4468c0ea21a761dfc934
parente69c65d8bed921e312f8fa02b3825a8555499699 (diff)
Bump to 1.1.2.
-rw-r--r--CMakeLists.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d06847b..be0850f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,15 +1,17 @@
-project(EntityX)
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.0)
+set(ENTITYX_MAJOR_VERSION 1)
+set(ENTITYX_MINOR_VERSION 1)
+set(ENTITYX_PATCH_VERSION 2)
+set(ENTITYX_VERSION ${ENTITYX_MAJOR_VERSION}.${ENTITYX_MINOR_VERSION}.${ENTITYX_PATCH_VERSION})
+
+project(EntityX VERSION ${ENTITYX_VERSION})
+
+message("EntityX version ${ENTITYX_VERSION}")
if(NOT DEFINED CMAKE_MACOSX_RPATH)
set(CMAKE_MACOSX_RPATH 0)
endif()
-set(ENTITYX_MAJOR_VERSION 1)
-set(ENTITYX_MINOR_VERSION 1)
-set(ENTITYX_PATCH_VERSION 0)
-set(ENTITYX_VERSION ${ENTITYX_MAJOR_VERSION}.${ENTITYX_MINOR_VERSION}.${ENTITYX_PATCH_VERSION})
-
include_directories(${CMAKE_CURRENT_LIST_DIR})