vtk: drop mesa on darwin

This commit is contained in:
Weijia Wang 2023-05-29 14:57:05 +03:00
parent fa386a50ae
commit 41437056f7

View file

@ -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"