apply patch for building shared libraries (and frameworks)

Thanks to ejtttje see Issue 357
This commit is contained in:
erwin.coumans
2010-08-19 22:28:41 +00:00
parent 32433aa8b3
commit 5d89141357
3 changed files with 8 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ ADD_LIBRARY(BulletSoftBodySolvers_OpenCL_Mini
SET_TARGET_PROPERTIES(BulletSoftBodySolvers_OpenCL_Mini PROPERTIES VERSION ${BULLET_VERSION})
SET_TARGET_PROPERTIES(BulletSoftBodySolvers_OpenCL_Mini PROPERTIES SOVERSION ${BULLET_VERSION})
IF (BUILD_SHARED_LIBS)
TARGET_LINK_LIBRARIES(BulletSoftBody BulletDynamics)
TARGET_LINK_LIBRARIES(BulletSoftBodySolvers_OpenCL_Mini MiniCL BulletMultiThreaded BulletSoftBody)
ENDIF (BUILD_SHARED_LIBS)