Move the common setup and function to `macros.cmake`. Pull Request: https://projects.blender.org/blender/blender/pulls/131391
Move the common setup and function to `macros.cmake`. Pull Request: https://projects.blender.org/blender/blender/pulls/131391