diff --git a/CMakeLists.txt b/CMakeLists.txt index 2204561..2c59f06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,11 @@ cmake_minimum_required(VERSION 2.8) set(PROJ_CJSON cJSON) project(${PROJ_CJSON} C) +set(CJSON_VERSION_MAJOR 1) +set(CJSON_VERSION_MINOR 0) +set(CJSON_VERSION_PATCH 0) +set(CJSON_VERSION_SO 1) +set(CJSON_VERSION "${CJSON_VERSION_MAJOR}.${CJSON_VERSION_MINOR}.${CJSON_VERSION_PATCH}") file(GLOB HEADERS cJSON.h) set(SOURCES cJSON.c)