Try to fix building without chipmunk, by define CC_USE_PHYSICS=0, but lua bindings still fail.

This commit is contained in:
Vladimir Timofeev 2014-11-15 13:38:10 +03:00
parent eb0159b2b7
commit b6dc5244b8
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ if(USE_CHIPMUNK)
find_package(Chipmunk REQUIRED)
message(STATUS "Chipmunk include dirs: ${CHIPMUNK_INCLUDE_DIRS}")
add_definitions(-DCC_ENABLE_CHIPMUNK_INTEGRATION=1)
else(USE_CHIPMUNK)
add_definitions(-DCC_USE_PHYSICS=0)
endif(USE_CHIPMUNK)
if(NOT MINGW)