vtk: drop mesa on darwin
This commit is contained in:
parent
fa386a50ae
commit
41437056f7
1 changed files with 2 additions and 0 deletions
|
@ -68,7 +68,9 @@ in stdenv.mkDerivation rec {
|
|||
"-DCMAKE_CXX_FLAGS=-fPIC"
|
||||
"-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"
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
"-DOPENGL_INCLUDE_DIR=${libGL}/include"
|
||||
] ++ [
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||
|
|
Loading…
Reference in a new issue