add cmake script to detect OSPECORR