From af1c274be72b8f42cb15463aebf3b513d1bdb3d4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 24 Aug 2013 10:23:41 +0000 Subject: skip building moto if its not needed. --- intern/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/intern/CMakeLists.txt b/intern/CMakeLists.txt index 69d6e253fd0..364db3592c7 100644 --- a/intern/CMakeLists.txt +++ b/intern/CMakeLists.txt @@ -27,7 +27,6 @@ add_subdirectory(string) add_subdirectory(ghost) add_subdirectory(guardedalloc) -add_subdirectory(moto) add_subdirectory(memutil) add_subdirectory(opencolorio) add_subdirectory(opennl) @@ -62,6 +61,10 @@ if(WITH_IK_ITASC) add_subdirectory(itasc) endif() +if(WITH_IK_SOLVER OR WITH_GAMEENGINE) + add_subdirectory(moto) +endif() + if(WITH_CYCLES) add_subdirectory(cycles) endif() -- cgit v1.2.3