You should first ensure that OpenMesh is compiled and installed. To check the path, see CMakeList.txt in both files. Then run following command to help you to compile both repos and move files to the target dir.
sh install.sh
This is just for convenience, any error or questions please refer to the original repo.