Added a cmake for runtime errors