From b6dc5244b81d5c74d14041c9c7e67cf3ba53da62 Mon Sep 17 00:00:00 2001 From: Vladimir Timofeev Date: Sat, 15 Nov 2014 13:38:10 +0300 Subject: [PATCH] Try to fix building without chipmunk, by define CC_USE_PHYSICS=0, but lua bindings still fail. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bdbff7c1af..aa39a4fbc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)