add install to cmake

hydro version of #19