Compiling on MacOS Thanks to this Stackoverflow answer: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release make