vtk_9: do not vendor libpng and libtiff
Previously ldd did not show the dependencies so presumably, VTK 9 started linking them statically after build system changes, as hinted by the following CMake warning: Manually-specified variables were not used by the project: VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_TIFF
This commit is contained in:
parent
c82ceee2ed
commit
e6caf52f64
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ in stdenv.mkDerivation rec {
|
|||
cmakeFlags = [
|
||||
"-DCMAKE_C_FLAGS=-fPIC"
|
||||
"-DCMAKE_CXX_FLAGS=-fPIC"
|
||||
"-DVTK_USE_SYSTEM_PNG=ON"
|
||||
"-DVTK_USE_SYSTEM_TIFF=1"
|
||||
"-D${if lib.versionOlder version "9.0" then "VTK_USE_SYSTEM_PNG" else "VTK_MODULE_USE_EXTERNAL_vtkpng"}=ON"
|
||||
"-D${if lib.versionOlder version "9.0" then "VTK_USE_SYSTEM_TIFF" else "VTK_MODULE_USE_EXTERNAL_vtktiff"}=1"
|
||||
"-DOPENGL_INCLUDE_DIR=${libGL}/include"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||
|
|
Loading…
Reference in a new issue