mirror of https://github.com/axmolengine/axmol.git
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:
commit
e36351321e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue