Skip to content

Commit 8e97141

Browse files
authored
vtk: fix libGL include dir (#368595)
2 parents d173898 + 3ef6e71 commit 8e97141

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)