cpp-jwt: fix reported version in cmake files
This commit is contained in:
parent
30c7019f27
commit
2c375c96f7
2 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-5hVsFanTCT/uLLXrnb2kMvmL6qs9RXVkvxdWaT6m4mk=";
|
sha256 = "sha256-5hVsFanTCT/uLLXrnb2kMvmL6qs9RXVkvxdWaT6m4mk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# fix reported version
|
||||||
|
patches = [ ./fix-version.patch ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=OFF"
|
"-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=OFF"
|
||||||
"-DCPP_JWT_BUILD_EXAMPLES=OFF"
|
"-DCPP_JWT_BUILD_EXAMPLES=OFF"
|
||||||
|
|
12
pkgs/development/libraries/cpp-jwt/fix-version.patch
Normal file
12
pkgs/development/libraries/cpp-jwt/fix-version.patch
Normal 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)
|
||||||
|
|
Loading…
Reference in a new issue