Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / tests / python / CMakeLists.txt
index dc0ad648ac2d92f4c512580d5b7d58c0f31bb504..20fa8257a32b072f739befca65ddbd6b4b4c5283 100644 (file)
@@ -468,12 +468,13 @@ if(WITH_ALEMBIC)
                        --testdir "${TEST_SRC_DIR}/alembic"
                        --alembic-root "${ALEMBIC_ROOT_DIR}"
                )
-               add_test(NAME script_alembic_import 
-                       COMMAND 
-                       "$<TARGET_FILE:blender>" ${TEST_BLENDER_EXE_PARAMS} 
+               add_test(NAME script_alembic_import
+                       COMMAND
+                       "$<TARGET_FILE:blender>" ${TEST_BLENDER_EXE_PARAMS}
                --python ${CMAKE_CURRENT_LIST_DIR}/bl_alembic_import_test.py
                --
                --testdir "${TEST_SRC_DIR}/alembic"
+               --with-legacy-depsgraph=${WITH_LEGACY_DEPSGRAPH}
                )
 
        else()
@@ -487,6 +488,7 @@ if(WITH_ALEMBIC)
                --python ${CMAKE_CURRENT_LIST_DIR}/bl_alembic_import_test.py
                --
                --testdir "${TEST_SRC_DIR}/alembic"
+               --with-legacy-depsgraph=${WITH_LEGACY_DEPSGRAPH}
                )
 
        endif()