OpenCV library not installing after using cmake
I'm sorry but I could fix it myself. 
In Cmake GUI WITH, I just enabled WITH_OPENMP.

I'm leaving this question here though just in case someone else faces the same issue later on.