Add the option BUILD_MULTITHREADING to CMAKE, only enabled on APPLE and MSVC platforms. This controls multi-core (BulletMultiThreaded), MiniCL, DX11 and OpenCL acceleration.

On other platforms (Linux) it might work, but it is unsupported.
Fix some warnings in btBulletWorldImprter
This commit is contained in:
erwin.coumans
2012-09-28 19:32:30 +00:00
parent 60bf599246
commit 79a792913d
7 changed files with 181 additions and 155 deletions

View File

@@ -11,7 +11,7 @@ SET(GLUT_ROOT ${BULLET_PHYSICS_SOURCE_DIR}/Glut)
# You shouldn't have to modify anything below this line
########################################################
IF(BUILD_AMD_OPENCL_DEMOS)
IF(BUILD_AMD_OPENCL_DEMOS AND BUILD_MULTITHREADING)
SUBDIRS(AMD)
ENDIF()