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.
This commit is contained in:
Glenn Rice 2013-09-09 16:48:14 -05:00
parent cd7f787627
commit 70130aeac3
1 changed files with 1 additions and 1 deletions

View File

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