Merge branch 'master' into blender2.8
[blender.git] / tests / python / CMakeLists.txt
index d5ba68b9b93d53251d2907ec30338cd13b9d2a58..9faedf93d620f7e58a32fd8b8664d0e601bb14e6 100644 (file)
@@ -583,7 +583,7 @@ if(WITH_OPENGL_DRAW_TESTS)
                file(GLOB children RELATIVE ${TEST_SRC_DIR} ${TEST_SRC_DIR}/*)
                foreach(child ${children})
                        if(IS_DIRECTORY ${TEST_SRC_DIR}/${child})
-                               file(GLOB blends ${TEST_SRC_DIR}/${child}/*.blend)
+                               file(GLOB_RECURSE blends "${TEST_SRC_DIR}/${child}/*.blend")
                                if(blends)
                                        add_python_test(
                                                opengl_draw_${child}_test