Commit 654e9b1e authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

orthanc: remove warnings when building

parent 9fccd07c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -104,6 +104,9 @@ stdenv.mkDerivation (finalAttrs: {
    (lib.cmakeBool "USE_SYSTEM_ZLIB" true)
  ];

  # Remove warnings during the build
  env.NIX_CFLAGS_COMPILE = "-Wno-builtin-macro-redefined";

  postInstall = ''
    mkdir -p $doc/share/doc/orthanc
    cp -r $src/OrthancServer/Resources/Samples $doc/share/doc/orthanc/Samples