mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 05:10:08 +00:00
fix cmake, linux only (patch egl)
This commit is contained in:
parent
964a5116eb
commit
425ecbd3e6
@ -369,11 +369,12 @@ IF(BUILD_PYBULLET)
|
||||
|
||||
ENDIF(BUILD_PYBULLET)
|
||||
|
||||
OPTION(BUILD_EGL "Build OpenGL/EGL" ON)
|
||||
IF(BUILD_EGL)
|
||||
ADD_DEFINITIONS(-DBT_USE_EGL)
|
||||
ENDIF(BUILD_EGL)
|
||||
|
||||
IF(NOT WIN32 AND NOT APPLE)
|
||||
OPTION(BUILD_EGL "Build OpenGL/EGL" ON)
|
||||
IF(BUILD_EGL)
|
||||
ADD_DEFINITIONS(-DBT_USE_EGL)
|
||||
ENDIF(BUILD_EGL)
|
||||
ENDIF()
|
||||
|
||||
IF(BUILD_BULLET3)
|
||||
IF(APPLE)
|
||||
|
@ -49,9 +49,6 @@ 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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user