Applied patch for several build issues:
+ add empty constructors to make Bullet compile using clang. Thanks to Stillmoon for the report and patch, See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5730 + bullet-2.77/Demos/OpenCLClothDemo/cloth.h:103: error: ‘sprintf’ was not declared in this scope Thanks to pprkut for the report in Issue 435 + cmake build fails on Unix systems when using BUILD_SHARED_LIBS. Added pthreads to BulletMultiThreaded Thanks to pprkut for the report in Issue 434
This commit is contained in:
@@ -73,9 +73,14 @@ SUBDIRS(GpuSoftBodySolvers)
|
||||
|
||||
|
||||
IF (BUILD_SHARED_LIBS)
|
||||
TARGET_LINK_LIBRARIES(BulletMultiThreaded BulletDynamics BulletCollision)
|
||||
IF (UNIX)
|
||||
TARGET_LINK_LIBRARIES(BulletMultiThreaded BulletDynamics BulletCollision pthread)
|
||||
ELSE()
|
||||
TARGET_LINK_LIBRARIES(BulletMultiThreaded BulletDynamics BulletCollision)
|
||||
ENDIF()
|
||||
ENDIF (BUILD_SHARED_LIBS)
|
||||
|
||||
|
||||
IF (INSTALL_LIBS)
|
||||
IF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
|
||||
#INSTALL of other files requires CMake 2.6
|
||||
|
||||
Reference in New Issue
Block a user