mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
fastcdr: fix build issue due to doxygen warnings
Make the build pass despite of doxygen warnings until upstream has resolved the issue.
This commit is contained in:
parent
4ab3410a72
commit
0e6d5f0483
@ -23,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./0001-Do-not-require-wget-and-unzip.patch
|
||||
];
|
||||
|
||||
# Fix doc generation error with doxygen >= 1.10.0
|
||||
# see https://github.com/eProsima/Fast-CDR/issues/193
|
||||
postPatch = ''
|
||||
substituteInPlace ./doxyfile.in --replace \
|
||||
"WARN_AS_ERROR = YES" \
|
||||
"WARN_AS_ERROR = NO"
|
||||
'';
|
||||
|
||||
cmakeFlags = lib.optional (stdenv.hostPlatform.isStatic) "-DBUILD_SHARED_LIBS=OFF"
|
||||
# upstream turns BUILD_TESTING=OFF by default and doesn't honor cmake's default (=ON)
|
||||
++ lib.optional (finalAttrs.finalPackage.doCheck) "-DBUILD_TESTING=ON"
|
||||
|
Loading…
Reference in New Issue
Block a user