2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2023 Niklas Poslovski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= nlohmann-json
19 COMPONENT_VERSION
= 3.11.3
20 COMPONENT_PROJECT_URL
= https
://github.com
/nlohmann
/json
21 COMPONENT_SUMMARY
= JSON for Modern C
++
22 COMPONENT_FMRI
= library
/c
++/nlohmann-json
24 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:d6c65aca6b1ed68e7a182f4757257b107ae403032760ed6ef121c9d55e81757d
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/nlohmann
/json
/releases
/download
/v
$(COMPONENT_VERSION
)/json.
tar.xz
27 COMPONENT_CLASSIFICATION
= Development
/C
++
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= LICENSE.MIT
31 TEST_TARGET
= $(NO_TESTS
)
32 include $(WS_MAKE_RULES
)/common.mk
34 CMAKE_OPTIONS
+= -DJSON_BuildTests
=OFF
36 # Auto-generated dependencies