From eef87062763a22ff14f829808435d9acc0a411e4 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 3 Apr 2018 18:02:35 +0900 Subject: CMakeLists.txt: Specify the API version correctly It's not version 2, it's still version 0.2. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 956c9a1f..50f04a91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,8 +91,8 @@ aux_source_directory(lib/jobs/generated libqmatrixclient_job_SRCS) set(example_SRCS examples/qmc-example.cpp) add_library(QMatrixClient ${libqmatrixclient_SRCS} ${libqmatrixclient_job_SRCS}) -set(API_VERSION 2) -set_property(TARGET QMatrixClient PROPERTY VERSION "0.2.0") +set(API_VERSION "0.2") +set_property(TARGET QMatrixClient PROPERTY VERSION "${API_VERSION}.0") set_property(TARGET QMatrixClient PROPERTY SOVERSION 0 ) set_property(TARGET QMatrixClient PROPERTY INTERFACE_QMatrixClient_MAJOR_VERSION ${API_VERSION}) -- cgit v1.2.3