CMake works for Linux but not for Windows: runtime error, DLLS not found

Thanks for your hints. Now I managed to make it work, it runs without warnings from the build direcotry. The only thing that still fails is “make package”, which creates a zip via CPack. There, the dll is still missing and thus if running from there, it will give the same error.