Trouble building via cmake + mac

Hey guys, when I try to build via the generated CMakeLists.txt file, most of the build works, and at around 98% the compilation throws an error regarding not being able to find UIKit.h.

Do I have to add the UIKit frameworks (and any others) to CMakeLists or am I not understanding how to use the generated cmake file?

Thanks