fix mac osx build

This commit is contained in:
Erwin Coumans
2018-02-21 08:16:00 -08:00
parent 3a019be57e
commit 9288ea9c6a
3 changed files with 10 additions and 9 deletions

View File

@@ -101,6 +101,7 @@ ELSE(WIN32)
find_library(COCOA NAMES Cocoa)
MESSAGE(${COCOA})
link_libraries(${COCOA} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY})
INCLUDE_DIRECTORIES( ${BULLET_PHYSICS_SOURCE_DIR}/examples/ThirdPartyLibs/glad )
ELSE(APPLE)
ADD_DEFINITIONS("-DGLEW_INIT_OPENGL11_FUNCTIONS=1")
ADD_DEFINITIONS("-DGLEW_STATIC")