Initial stab at CMakeLists.txt.  Only tested on OS X 10.9.3 and missing installer section.