From 70130aeac35b4a8ee65fe3d0aa2d7a535e9bcde2 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 9 Sep 2013 16:48:14 -0500 Subject: [PATCH] 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. --- CMakeTests/FindGLEW.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)