fix cmake + apple (patch egl)
This commit is contained in:
@@ -49,6 +49,9 @@ ENDIF()
|
|||||||
|
|
||||||
IF(BUILD_EGL)
|
IF(BUILD_EGL)
|
||||||
SET(OpenGLWindow_SRCS ${OpenGLWindow_SRCS} ${BULLET_PHYSICS_SOURCE_DIR}/examples/ThirdPartyLibs/glad/egl.c)
|
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)
|
ENDIF(BUILD_EGL)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user