Fully version library

This commit is contained in:
Jason Rhinelander 2020-03-28 12:22:20 -03:00
parent 69dede346e
commit ce65ad1858
3 changed files with 23 additions and 1 deletions

View file

@ -47,7 +47,7 @@ index 6c1b5c9..577b5f6 100644
}
diff --git a/tests/test_requests.cpp b/tests/test_requests.cpp
index 6d274fe..123adc5 100644
index 53a4c68..b94eeaf 100644
--- a/tests/test_requests.cpp
+++ b/tests/test_requests.cpp
@@ -46,7 +46,7 @@ TEST_CASE("basic requests", "[requests]") {

View file

@ -0,0 +1,21 @@
From: Jason Rhinelander <jason@imaginary.ca>
Date: Sat, 28 Mar 2020 12:22:07 -0300
Subject: Fully version library
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2622297..2b75731 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ set(LOKIMQ_VERSION_PATCH 3)
set(LOKIMQ_VERSION "${LOKIMQ_VERSION_MAJOR}.${LOKIMQ_VERSION_MINOR}.${LOKIMQ_VERSION_PATCH}")
message(STATUS "lokimq v${LOKIMQ_VERSION}")
-set(LOKIMQ_LIBVERSION 0)
+set(LOKIMQ_LIBVERSION ${LOKIMQ_VERSION})
option(BUILD_SHARED_LIBS "Build shared libraries instead of static ones" ON)

View file

@ -1 +1,2 @@
0001-slower-connection-tests.patch
0002-Fully-version-library.patch