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
This commit is contained in:
@@ -88,7 +88,6 @@ stdenv.mkDerivation rec {
|
||||
++ [
|
||||
glib
|
||||
libxml2
|
||||
pcre
|
||||
zlib
|
||||
]
|
||||
++ lib.optional jpegSupport libjpeg
|
||||
@@ -98,7 +97,10 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional tiffSupport libtiff
|
||||
++ lib.optional gdalSupport gdal
|
||||
++ lib.optional curlSupport curl
|
||||
++ lib.optional colladaSupport opencollada
|
||||
++ lib.optionals colladaSupport [
|
||||
opencollada
|
||||
pcre
|
||||
]
|
||||
++ lib.optional opencascadeSupport opencascade-occt
|
||||
++ lib.optional ffmpegSupport ffmpeg
|
||||
++ lib.optional nvttSupport nvidia-texture-tools
|
||||
|
||||
Reference in New Issue
Block a user