From 2da4e7b1f69ed7adf5703c4bc330c61ad3109f7c Mon Sep 17 00:00:00 2001 From: auria Date: Fri, 19 Apr 2013 22:39:43 +0000 Subject: [PATCH] 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 --- lib/bullet/CMakeLists.txt | 6 +++--- lib/enet/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bullet/CMakeLists.txt b/lib/bullet/CMakeLists.txt index f0c7a4b1d..1d02ea11f 100644 --- a/lib/bullet/CMakeLists.txt +++ b/lib/bullet/CMakeLists.txt @@ -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 diff --git a/lib/enet/CMakeLists.txt b/lib/enet/CMakeLists.txt index dad7bf221..9cae95a6b 100644 --- a/lib/enet/CMakeLists.txt +++ b/lib/enet/CMakeLists.txt @@ -9,7 +9,7 @@ endif() add_definitions(-DHAS_SOCKLEN_T) -add_library(enet +add_library(enet STATIC callbacks.c compress.c host.c