Question on new CMake with sdl + .dll not in build dir

I am using the newest SDL release and building my game project on Windows with CMake using the VC release binaries.
I am having a little problem that on a clean build, I need to manually copy the SDL dll into the build directory.

Is there something that I can do to copy the dll automatically, without adding a custom command myself?

A possible solution is to use the file command to copy dlls and resources to the build folder, something like this:


The documentation for the file command may be useful.