Now, when you build the project the resulting library goes to build/caffe/. After rebuilding it is replaced by a new one. If you install (make install) the lib goes to CMAKE_INSTALL_PREFIX/lib/ and CMAKE_INSTALL_PREFIX defaults to build/install/. 

Is that ok? How would you have it handled?