use LIB_SUFFIX to install under lib${LIB_SUFFIX}, for example /usr/lib64

Thanks to brumahe for the patch
http://code.google.com/p/bullet/issues/detail?id=174

compile BulletMultiThreaded also on  64 bit
This commit is contained in:
erwin.coumans
2009-11-03 06:01:00 +00:00
parent 73250b4be2
commit 4c3af9c95f
5 changed files with 11 additions and 8 deletions

View File

@@ -1,8 +1,11 @@
if (CMAKE_SIZEOF_VOID_P MATCHES "8")
SUBDIRS( BulletSoftBody BulletCollision BulletDynamics LinearMath )
else (CMAKE_SIZEOF_VOID_P MATCHES "8")
#if your 64 bit platform breaks compilation for BulletMultiThreaded,
#please uncomment next lines, and file an issue in bullet.googlecode.com
#if (CMAKE_SIZEOF_VOID_P MATCHES "8")
#SUBDIRS( BulletSoftBody BulletCollision BulletDynamics LinearMath )
#else (CMAKE_SIZEOF_VOID_P MATCHES "8")
SUBDIRS( BulletMultiThreaded BulletSoftBody BulletCollision BulletDynamics LinearMath )
endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
#endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
#INSTALL of other files requires CMake 2.6
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)