mkdir build cmake -B build -G 'Unix Makefiles' cd build make make DESTDIR="$1" install