Inverse DFT slowdown with VS Cmake projects

You have to insert in both configuration at your first line of your code :
cout<<cv::getBuildInformation()<<"\n";

and post both results