Commit 0dd22806 authored by Doron Behar's avatar Doron Behar
Browse files

nlohmann_json_schema_validator: build shared libraries by default

parent 645eca14
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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";