make GLUT optional in cmake
fix for btMultiBody to avoid extreme energy gain
This commit is contained in:
@@ -17,6 +17,7 @@ ${BULLET_PHYSICS_SOURCE_DIR}/src
|
||||
)
|
||||
|
||||
IF (USE_GLUT)
|
||||
INCLUDE_DIRECTORIES( ${GLUT_INCLUDE_DIR} )
|
||||
LINK_LIBRARIES(
|
||||
OpenGLSupport BulletDynamics BulletCollision LinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user