From 70ebfd2b65ef8036f51ce214ac3d4fea9a733185 Mon Sep 17 00:00:00 2001 From: Fabian Klemp Date: Mon, 10 Nov 2014 16:38:23 +0100 Subject: [PATCH] Fixed cmake include path for bullet. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5f78bf..0913e5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,7 +113,10 @@ ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # ############################################################################### -INCLUDE_DIRECTORIES(GLOB_RECURSE ${CMAKE_SOURCE_DIR}/extern/bullet/src/*.h) +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)