It seems like problem with old version of CMake. Try updating to newest CMake available from their website (which OS version and CMake version do you use?)
See also: http://answers.opencv.org/question/6789/problem-with-installation-opencv/ and this (I think this problem was similar): https://github.com/urho3d/Urho3D/issues/308