summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2013-09-09 16:48:14 -0500
committerGlenn Rice <glennricster@gmail.com>2013-09-09 16:48:14 -0500
commit70130aeac35b4a8ee65fe3d0aa2d7a535e9bcde2 (patch)
treee63b590426c4a09c2eea0d0013e480bd66fe056d
parentcd7f787627f3cb89ac285619b83c803fe9c8f64c (diff)
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.
-rw-r--r--CMakeTests/FindGLEW.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeTests/FindGLEW.cmake b/CMakeTests/FindGLEW.cmake
index cb1e09021a..4861292558 100644
--- a/CMakeTests/FindGLEW.cmake
+++ b/CMakeTests/FindGLEW.cmake
@@ -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)