mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
* BugFix: Add bullet include directories to Torque when building.
This commit is contained in:
parent
1a76d3e84d
commit
5f50e7b70a
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ if(TORQUE_PHYSICS_BULLET)
|
||||||
Bullet2FileLoader BulletDynamics Bullet3OpenCL_clew Bullet3Common
|
Bullet2FileLoader BulletDynamics Bullet3OpenCL_clew Bullet3Common
|
||||||
LinearMath Bullet3Geometry Bullet3Collision)
|
LinearMath Bullet3Geometry Bullet3Collision)
|
||||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_PHYSICS_BULLET TORQUE_PHYSICS_ENABLED)
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_PHYSICS_BULLET TORQUE_PHYSICS_ENABLED)
|
||||||
|
set(TORQUE_INCLUDE_DIRECTORIES ${TORQUE_INCLUDE_DIRECTORIES} "${CMAKE_SOURCE_DIR}/Engine/lib/bullet/src" )
|
||||||
|
|
||||||
# Since Bullet lives elsewhere we need to ensure it is known to Torque when providing a link to it
|
# Since Bullet lives elsewhere we need to ensure it is known to Torque when providing a link to it
|
||||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Bullet Shared Libs" FORCE)
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Bullet Shared Libs" FORCE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue