mofy cmakelists.txt for mac