Merge pull request #15740 from qbart/fix-bullet-definition-in-compiler-options

Use CC_USE_3D_PHYSICS=1 for Bullet physics only
This commit is contained in:
minggo 2016-05-30 15:07:51 +08:00
commit e36351321e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ macro (SetCompilerOptions)
# definitions for bullet
if (USE_BULLET)
add_definitions(-DCC_ENABLE_BULLET_INTEGRATION=1)
add_definitions(-DCC_USE_PHYSICS=1)
add_definitions(-DCC_USE_3D_PHYSICS=1)
else()
add_definitions(-DCC_ENABLE_BULLET_INTEGRATION=0)
add_definitions(-DCC_USE_3D_PHYSICS=0)