Fix linux|mingw shared|static build

This commit is contained in:
xantares
2014-04-09 10:33:22 +00:00
committed by erwincoumans
parent aa76b88936
commit 477cfc6fe6
12 changed files with 32 additions and 10 deletions

View File

@@ -16,6 +16,9 @@ SET(Bullet3Geometry_HDRS
)
ADD_LIBRARY(Bullet3Geometry ${Bullet3Geometry_SRCS} ${Bullet3Geometry_HDRS})
if (BUILD_SHARED_LIBS)
target_link_libraries(Bullet3Geometry Bullet3Common)
endif()
SET_TARGET_PROPERTIES(Bullet3Geometry PROPERTIES VERSION ${BULLET_VERSION})
SET_TARGET_PROPERTIES(Bullet3Geometry PROPERTIES SOVERSION ${BULLET_VERSION})