UGH! ok I was trying to compile q4wine for god knows what reason and half the variables in the build/CMakeCache.txt were pointing to /usr/lib64/qt and the other half were pointint to /usr/lib/qt.
I solved my issue by adding
on the line right before
Hope this helps somebody else with cmake and qt problems.