When checking for glew, don't fail if a working system version is not

found so we can fall back to the Externals version.
This commit is contained in:
Glenn Rice
2013-09-07 12:40:40 -05:00
parent a3d86ceead
commit d617efc5ef
2 changed files with 2 additions and 5 deletions

View File

@ -28,8 +28,5 @@ if(GLEW_FOUND)
if (GLEW_HAS_1_9_METHODS)
include_directories(${GLEW_INCLUDE_DIRS})
message("GLEW found")
else()
set($GLEW_FOUND 0 CACHE INTERNAL "")
message(FATAL_ERROR "A version of GLEW with the required methods was not found")
endif()
endif()