mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Fix GLEW system lib linking on macOS
Only GLEW::GLEW is provided, GLEW_LIBRARIES is empty by default
This commit is contained in:
parent
b4374b28f1
commit
a8873b3af7
|
@ -5,6 +5,9 @@ if(NOT PREFER_BUNDLED_LIBS)
|
|||
if(GLEW_FOUND)
|
||||
set(GLEW_BUNDLED OFF)
|
||||
set(GLEW_DEP)
|
||||
if(NOT GLEW_LIBRARIES)
|
||||
set(GLEW_LIBRARIES GLEW::GLEW)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue