Added license for CheckFunctionExistsMath.cmake