Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove the REQUIRED option from the cmake pkg-config check for GLEW so
that cmake doesn't fail if a shared library is not found, and falls back
to the version in the externals.
  • Loading branch information
glennricster committed Sep 9, 2013
1 parent cd7f787 commit 70130ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeTests/FindGLEW.cmake
Expand Up @@ -20,7 +20,7 @@ macro(test_glew)
endmacro()

if(PKG_CONFIG_FOUND AND NOT ${var}_FOUND)
pkg_search_module(GLEW REQUIRED glew>=1.8)
pkg_search_module(GLEW glew>=1.8)
endif()

if(GLEW_FOUND)
Expand Down

0 comments on commit 70130ae

Please sign in to comment.