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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user