cpp-jwt: fix reported version in cmake files

This commit is contained in:
K900 2023-04-28 23:39:37 +03:00
parent 30c7019f27
commit 2c375c96f7
2 changed files with 15 additions and 0 deletions

View file

@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-5hVsFanTCT/uLLXrnb2kMvmL6qs9RXVkvxdWaT6m4mk=";
};
# fix reported version
patches = [ ./fix-version.patch ];
cmakeFlags = [
"-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=OFF"
"-DCPP_JWT_BUILD_EXAMPLES=OFF"

View file

@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f35431..f08eb22 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.5.0)
-project(cpp-jwt VERSION 1.2.0)
+project(cpp-jwt VERSION 1.4.0)
option(CPP_JWT_BUILD_EXAMPLES "build examples" ON)
option(CPP_JWT_BUILD_TESTS "build tests" ON)