We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e437f54 commit c99b3a4Copy full SHA for c99b3a4
2 files changed
recipes/libs/nlohmann-json.yaml
@@ -0,0 +1,20 @@
1
+inherit: [cmake]
2
+
3
+metaEnvironment:
4
+ PKG_VERSION: "3.12.0"
5
+ PKG_LICENSE: "MIT"
6
7
+checkoutSCM:
8
+ scm: url
9
+ url: ${GITHUB_MIRROR}/nlohmann/json/archive/refs/tags/v${PKG_VERSION}.tar.gz
10
+ digestSHA256: 4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
11
+ stripComponents: 1
12
13
+buildScript: |
14
+ cmakeBuild $1 -DJSON_BuildTests=Off
15
16
+multiPackage:
17
+ dev:
18
+ packageScript: cmakePackageDev
19
+ tgt: # probably unnecessary since this is a header only library?
20
+ packageScript: cmakePackageTgt
tests/buildall/recipes/all.yaml
@@ -74,6 +74,7 @@ depends:
74
- libs::mesa3d-tgt
75
- libs::mtdev-tgt
76
- libs::nettle-tgt
77
+ - libs::nlohmann-json-tgt
78
- libs::npth-tgt
79
- libs::openssl
80
- name: libs::openssl
0 commit comments