CMake: Remove MOTO library dependency when it is not needed
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
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user