From af9a2591a83f38a847e8646a6f047ef5cf53b991 Mon Sep 17 00:00:00 2001 From: Fabian Klemp Date: Fri, 24 Oct 2014 11:57:06 +0200 Subject: [PATCH] Adding Bullet physics. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d69f4c4..5cbb59e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,5 +113,11 @@ ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # ############################################################################### +INCLUDE_DIRECTORIES(GLOB_RECURSE ${CMAKE_SOURCE_DIR}/extern/bullet/src/*.h) + +SET (LIBRARIES ${LIBRARIES} ../extern/bullet/build/src/BulletCollision/libBulletCollision.a) +SET (LIBRARIES ${LIBRARIES} ../extern/bullet/build/src/BulletDynamics/libBulletDynamics.a) +SET (LIBRARIES ${LIBRARIES} ../extern/bullet/build/src/LinearMath/libLinearMath.a) + ADD_EXECUTABLE(${CMAKE_PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES} ${SHADER_FILES} ${README_FILES}) TARGET_LINK_LIBRARIES(${CMAKE_PROJECT_NAME} ${LIBRARIES})