nlohmann_json_schema_validator: build shared libraries by default

This commit is contained in:
Doron Behar
2026-02-21 19:41:44 +02:00
parent 645eca143b
commit 0dd22806da
@@ -24,6 +24,10 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ nlohmann_json ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
];
meta = {
description = "JSON schema validator for JSON for Modern C++";
homepage = "https://github.com/pboettch/json-schema-validator";