Skip to content

Commit 3f8d659

Browse files
committed
openscenegraph: guard pcre behind collada support
As per upstream, pcre is only required for collada support [1]. Therefore, it makes little sense to include pcre (an EOL library) in the default build. [1] https://github.com/openscenegraph/OpenSceneGraph/blob/2e4ae2ea94595995c1fc56860051410b0c0be605/CMakeModules/FindCOLLADA.cmake#L222-L256
1 parent 886356e commit 3f8d659

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkgs/by-name/op/openscenegraph/package.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ stdenv.mkDerivation rec {
8888
++ [
8989
glib
9090
libxml2
91-
pcre
9291
zlib
9392
]
9493
++ lib.optional jpegSupport libjpeg
@@ -98,7 +97,10 @@ stdenv.mkDerivation rec {
9897
++ lib.optional tiffSupport libtiff
9998
++ lib.optional gdalSupport gdal
10099
++ lib.optional curlSupport curl
101-
++ lib.optional colladaSupport opencollada
100+
++ lib.optionals colladaSupport [
101+
opencollada
102+
pcre
103+
]
102104
++ lib.optional opencascadeSupport opencascade-occt
103105
++ lib.optional ffmpegSupport ffmpeg
104106
++ lib.optional nvttSupport nvidia-texture-tools

0 commit comments

Comments
 (0)