built using CMake on mac