Check your CMake version. Support for set_property(CACHE ... )
was implemented in 2.8.0.
If upgrading CMake is not an option for you - I guess it's safe to comment line #44. It seems to be used to create values for drop-down list in GUI.
http://www.kitware.com/blog/home/post/82
http://blog.bethcodes.com/cmake-tips-tricks-drop-down-list