From 5424e469ca9989765e0069e05139bc883db2e34a Mon Sep 17 00:00:00 2001 From: Jasper Date: Mon, 10 Nov 2014 17:35:51 +0100 Subject: [PATCH] Changing linking order of Bullet libs. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0913e5e..2b34054 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,9 +118,12 @@ FILE(GLOB_RECURSE HEADER_FILES_BULLET ${CMAKE_SOURCE_DIR}/extern/bullet/src/*.h) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/extern/bullet/src) SET(HEADER_FILES ${HEADER_FILES} ${HEADER_FILES_BULLET}) -SET (LIBRARIES ${LIBRARIES} ${CMAKE_SOURCE_DIR}/extern/bullet/build/src/BulletCollision/libBulletCollision.a) + SET (LIBRARIES ${LIBRARIES} ${CMAKE_SOURCE_DIR}/extern/bullet/build/src/BulletDynamics/libBulletDynamics.a) +SET (LIBRARIES ${LIBRARIES} ${CMAKE_SOURCE_DIR}/extern/bullet/build/src/BulletCollision/libBulletCollision.a) SET (LIBRARIES ${LIBRARIES} ${CMAKE_SOURCE_DIR}/extern/bullet/build/src/LinearMath/libLinearMath.a) +SET (LIBRARIES ${LIBRARIES} ${CMAKE_SOURCE_DIR}/extern/bullet/build/src/BulletSoftBody/libBulletSoftBody.a) + ADD_EXECUTABLE(${CMAKE_PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES} ${SHADER_FILES} ${README_FILES}) TARGET_LINK_LIBRARIES(${CMAKE_PROJECT_NAME} ${LIBRARIES})