fix cmake + apple (patch egl)

This commit is contained in:
Max Argus 2018-07-18 12:54:36 +02:00
parent 902818894c
commit 964a5116eb

View File

@ -49,6 +49,9 @@ ENDIF()
IF(BUILD_EGL)
SET(OpenGLWindow_SRCS ${OpenGLWindow_SRCS} ${BULLET_PHYSICS_SOURCE_DIR}/examples/ThirdPartyLibs/glad/egl.c)
IF(APPLE)
ADD_DEFINITIONS(-D__APPLE__)
ENDIF(APPLE)
ENDIF(BUILD_EGL)