mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
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] 2e4ae2ea94/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