Merge pull request #11829 from vit9696/noglew

Disable GLEW on macOS
This commit is contained in:
Henrik Rydgård 2019-02-23 11:25:18 +01:00 committed by GitHub
commit 0c95f18ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
find_package(GLEW)
if(GLEW_FOUND)
if(NOT APPLE AND GLEW_FOUND)
add_library(system_glew INTERFACE)
add_library(Ext::GLEW ALIAS system_glew)
target_link_libraries(system_glew INTERFACE GLEW::GLEW)