added the stuff to cmake