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:
parent
cd7f787627
commit
70130aeac3
|
@ -20,7 +20,7 @@ macro(test_glew)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
if(PKG_CONFIG_FOUND AND NOT ${var}_FOUND)
|
if(PKG_CONFIG_FOUND AND NOT ${var}_FOUND)
|
||||||
pkg_search_module(GLEW REQUIRED glew>=1.8)
|
pkg_search_module(GLEW glew>=1.8)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(GLEW_FOUND)
|
if(GLEW_FOUND)
|
||||||
|
|
Loading…
Reference in New Issue