tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cpp-jwt: fix reported version in cmake files
K900
2 years ago
2c375c96
30c7019f
+15
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
cpp-jwt
default.nix
fix-version.patch
+3
pkgs/development/libraries/cpp-jwt/default.nix
···
11
11
sha256 = "sha256-5hVsFanTCT/uLLXrnb2kMvmL6qs9RXVkvxdWaT6m4mk=";
12
12
};
13
13
14
14
+
# fix reported version
15
15
+
patches = [ ./fix-version.patch ];
16
16
+
14
17
cmakeFlags = [
15
18
"-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=OFF"
16
19
"-DCPP_JWT_BUILD_EXAMPLES=OFF"
+12
pkgs/development/libraries/cpp-jwt/fix-version.patch
···
1
1
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2
2
+
index 2f35431..f08eb22 100644
3
3
+
--- a/CMakeLists.txt
4
4
+
+++ b/CMakeLists.txt
5
5
+
@@ -1,5 +1,5 @@
6
6
+
cmake_minimum_required(VERSION 3.5.0)
7
7
+
-project(cpp-jwt VERSION 1.2.0)
8
8
+
+project(cpp-jwt VERSION 1.4.0)
9
9
+
10
10
+
option(CPP_JWT_BUILD_EXAMPLES "build examples" ON)
11
11
+
option(CPP_JWT_BUILD_TESTS "build tests" ON)
12
12
+