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

@@ -24,6 +24,9 @@ SET(Bullet2FileLoader_HDRS
)
ADD_LIBRARY(Bullet2FileLoader ${Bullet2FileLoader_SRCS} ${Bullet2FileLoader_HDRS})
if (BUILD_SHARED_LIBS)
target_link_libraries(Bullet2FileLoader Bullet3Common)
endif ()
SET_TARGET_PROPERTIES(Bullet2FileLoader PROPERTIES VERSION ${BULLET_VERSION})
SET_TARGET_PROPERTIES(Bullet2FileLoader PROPERTIES SOVERSION ${BULLET_VERSION})