Skip to content

Commit 3ef6e71

Browse files
committed
vtk: fix libGL include dir
1 parent 64cfcd0 commit 3ef6e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/development/libraries/vtk/generic.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ stdenv.mkDerivation {
102102
"-DVTK_MODULE_ENABLE_VTK_RenderingExternal=YES"
103103
]
104104
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
105-
"-DOPENGL_INCLUDE_DIR=${libGL}/include"
105+
"-DOPENGL_INCLUDE_DIR=${lib.getInclude libGL}/include"
106106
(lib.cmakeBool "VTK_OPENGL_HAS_EGL" enableEgl)
107107
]
108108
++ [

0 commit comments

Comments
 (0)