CMake: Remove MOTO library dependency when it is not needed
authorJorge Bernal <jbernalmartinez@gmail.com>
Mon, 6 Feb 2017 18:29:42 +0000 (19:29 +0100)
committerJorge Bernal <jbernalmartinez@gmail.com>
Mon, 6 Feb 2017 18:29:42 +0000 (19:29 +0100)
It is not necessary to add MOTO library dependency when we use
WITH_IK_SOLVER (now it uses Eigen) or we use WITH_MOD_BOOLEAN (it was
used by bsp intern library some time ago but it is not present in the
code anymore).

Reviewers: mont29, sergey

Subscribers: mont29, sergey

Differential Revision: https://developer.blender.org/D2477

intern/CMakeLists.txt

index 9a5476772ab1e02b53cc4e693ab9badb19c7d932..dd9889c81ba1890156667419bbf9d32baae4ddd5 100644 (file)
@@ -62,7 +62,7 @@ if(WITH_IK_ITASC)
        add_subdirectory(itasc)
 endif()
 
-if(WITH_IK_SOLVER OR WITH_GAMEENGINE OR WITH_MOD_BOOLEAN)
+if(WITH_GAMEENGINE)
        add_subdirectory(moto)
 endif()