Apply patch to make sure CMake builds static binaries of libraries
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1b96d33a50
commit
2da4e7b1f6
@ -8,7 +8,7 @@ if(APPLE)
|
||||
endif()
|
||||
|
||||
# libbulletmath
|
||||
add_library(bulletmath
|
||||
add_library(bulletmath STATIC
|
||||
src/LinearMath/btAabbUtil2.h src/LinearMath/btMotionState.h
|
||||
src/LinearMath/btAlignedAllocator.cpp src/LinearMath/btPoolAllocator.h
|
||||
src/LinearMath/btAlignedAllocator.h src/LinearMath/btQuadWord.h
|
||||
@ -37,7 +37,7 @@ add_library(bulletmath
|
||||
# quite low anyway.
|
||||
|
||||
# libbulletcollision
|
||||
add_library(bulletcollision
|
||||
add_library(bulletcollision STATIC
|
||||
src/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp
|
||||
src/BulletCollision/BroadphaseCollision/btAxisSweep3.h
|
||||
src/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
|
||||
@ -254,7 +254,7 @@ add_library(bulletcollision
|
||||
)
|
||||
|
||||
# libbulletdynamics
|
||||
add_library(bulletdynamics
|
||||
add_library(bulletdynamics STATIC
|
||||
src/BulletDynamics/Character/btCharacterControllerInterface.h
|
||||
src/BulletDynamics/Character/btKinematicCharacterController.cpp
|
||||
src/BulletDynamics/Character/btKinematicCharacterController.h
|
||||
|
@ -9,7 +9,7 @@ endif()
|
||||
|
||||
add_definitions(-DHAS_SOCKLEN_T)
|
||||
|
||||
add_library(enet
|
||||
add_library(enet STATIC
|
||||
callbacks.c
|
||||
compress.c
|
||||
host.c
|
||||
|
Loading…
Reference in New Issue
Block a user