Skip to content

Commit

Permalink
opensubdiv: fix glew paths
Browse files Browse the repository at this point in the history
Include and lib are not in ${glew} but in ${glew.dev}.

This changes what is found by the cmake of opensubdiv and some features
are now enabled, such as OpenGL 4.2 support.

(cherry picked from commit 2348c6c)
  • Loading branch information
guibou authored and Mic92 committed Oct 17, 2017
1 parent 82752b5 commit c99239b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/opensubdiv/default.nix
Expand Up @@ -28,8 +28,8 @@
[ "-DNO_TUTORIALS=1"
"-DNO_REGRESSION=1"
"-DNO_EXAMPLES=1"
"-DGLEW_INCLUDE_DIR=${glew}/include"
"-DGLEW_LIBRARY=${glew}/lib"
"-DGLEW_INCLUDE_DIR=${glew.dev}/include"
"-DGLEW_LIBRARY=${glew.dev}/lib"
];

enableParallelBuilding = true;
Expand Down

0 comments on commit c99239b

Please sign in to comment.