aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-28 15:51:53 +0200
committerThomas White <taw@physics.org>2018-05-28 15:51:53 +0200
commit487cb42d6553295deaa5595a913ee9d9dedbb112 (patch)
tree1c085aa0ce29582378dded44b173f16deabb49ba /CMakeLists.txt
parent65ca6b36c47d3b59b22ea72a354cc22cc84bad4e (diff)
Set version for shared library
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aea8e29d..1bf6ec7d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.6)
-project(crystfel VERSION 0.7.0 LANGUAGES C)
+set(CRYSTFEL_VERSION 0.7.0)
+set(CRYSTFEL_API_VERSION 10)
+project(crystfel VERSION ${CRYSTFEL_VERSION} LANGUAGES C)
include(GNUInstallDirs)