diff options
Diffstat (limited to 'source/gameengine/Physics/Bullet/CMakeLists.txt')
-rw-r--r-- | source/gameengine/Physics/Bullet/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/gameengine/Physics/Bullet/CMakeLists.txt b/source/gameengine/Physics/Bullet/CMakeLists.txt index 7a48c774cb9..da585803783 100644 --- a/source/gameengine/Physics/Bullet/CMakeLists.txt +++ b/source/gameengine/Physics/Bullet/CMakeLists.txt @@ -25,9 +25,9 @@ # ***** END GPL LICENSE BLOCK ***** # since this includes bullet we get errors from the headers too -REMOVE_STRICT_FLAGS() +remove_strict_flags() -SET(INC +set(INC . ../common ../../../../extern/bullet2/src @@ -47,7 +47,7 @@ SET(INC ${PYTHON_INC} ) -SET(SRC +set(SRC CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp CcdGraphicController.cpp @@ -57,8 +57,8 @@ SET(SRC CcdPhysicsEnvironment.h ) -IF(WITH_BULLET) - ADD_DEFINITIONS(-DUSE_BULLET) -ENDIF(WITH_BULLET) +if(WITH_BULLET) + add_definitions(-DUSE_BULLET) +endif() -BLENDERLIB(ge_phys_bullet "${SRC}" "${INC}") +blenderlib(ge_phys_bullet "${SRC}" "${INC}") |