mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
Merge branch 'master' of https://github.com/darealshinji/gzdoom
This commit is contained in:
commit
7374cd34cf
1 changed files with 5 additions and 1 deletions
|
@ -253,7 +253,11 @@ endif( GLEW_INCLUDE_DIR )
|
|||
# GLEW include directory
|
||||
include_directories( "${GLEW_INCLUDE_DIR}" )
|
||||
|
||||
find_library( GLEW_LIBRARY glew32 )
|
||||
if( NOT WIN32 OR APPLE )
|
||||
find_library( GLEW_LIBRARY libGLEW.so )
|
||||
else( NOT WIN32 OR APPLE )
|
||||
find_library( GLEW_LIBRARY glew32 )
|
||||
endif( NOT WIN32 OR APPLE )
|
||||
|
||||
if( NOT GLEW_LIBRARY )
|
||||
message( SEND_ERROR "Could not find GLEW library files" )
|
||||
|
|
Loading…
Reference in a new issue