Fix linking against system GLEW (#1935)

This commit is contained in:
Tatsh
2021-02-03 12:25:42 -05:00
committed by GitHub
parent 8ae4beb2d4
commit c7c54bb013
+2
View File
@@ -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")