cd nng mkdir build cd build cmake ../ -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=`pwd`/../../aBuild/nng make -j && make install