Fix linking against system GLEW (#1935)
This commit is contained in:
Vendored
+2
@@ -1,6 +1,8 @@
|
||||
if(WITH_SYSTEM_GLEW)
|
||||
find_package(GLEW REQUIRED)
|
||||
set(GLEW_INCLUDE_DIRS ${GLEW_INCLUDE_DIRS} PARENT_SCOPE)
|
||||
set(GLEW_LIBRARIES ${GLEW_LIBRARIES} PARENT_SCOPE)
|
||||
set(GLEW_LIBRARY_RELEASE ${GLEW_LIBRARY_RELEASE} PARENT_SCOPE)
|
||||
else()
|
||||
|
||||
set(GLEW_SRC "glew-1.5.8/src/glew.c")
|
||||
|
||||
Reference in New Issue
Block a user