It's kind of weird that that worked. Better for you to -DCOMPUTE=0 and remove Compute 6.1 from Cmakelists.txt in libethash-cuda folder.
I stand corrected, it did not work with 1.1.1, my mining script was still calling -G
Also, I looked all over and can't seem to find a Cmakelists.txt in libethash-cuda folder, should it be there after the cmake?
Thanks.