The easiest way:

$ mkdir build
$ cd build
$ cmake ../
$ make
$ make install
