16 lines
360 B
CMake
16 lines
360 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(MAJOR_VERSION "0")
|
|
set(MINOR_VERSION "6")
|
|
set(PATCH_VERSION "2")
|
|
set(VERSION_STRING "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
|
|
|
|
if (CMAKE_VERSION VERSION_LESS 3.0)
|
|
project(vitastor)
|
|
else()
|
|
cmake_policy(SET CMP0048 NEW)
|
|
project(vitastor VERSION "${VERSION_STRING}")
|
|
endif()
|
|
|
|
add_subdirectory(src)
|