cmake HAVE_UNDERSCORE_PREFIXED_BESSEL_FUNCTIONS examples

ucla-vision/xivo thirdparty/ceres-solver/cmake/CheckIfUnderscorePrefixedBesselFunctionsExist.cmake :41

check_cxx_source_compiles(
    "#include <math.h>
     int main(int argc, char * argv[]) {
       double result;
       result = _j0(1.2345);
       result = _j1(1.2345);
       result = _jn(2, 1.2345);
       return 0;
     }"
     HAVE_UNDERSCORE_PREFIXED_BESSEL_FUNCTIONS)

ucla-vision/xivo thirdparty/g2o/cmake_modules/CheckIfUnderscorePrefixedBesselFunctionsExist.cmake :41

check_cxx_source_compiles(
    "#include <math.h>
     int main(int argc, char * argv[]) {
       double result;
       result = _j0(1.2345);
       result = _j1(1.2345);
       result = _jn(2, 1.2345);
       return 0;
     }"
     HAVE_UNDERSCORE_PREFIXED_BESSEL_FUNCTIONS)

RainerKuemmerle/g2o cmake_modules/CheckIfUnderscorePrefixedBesselFunctionsExist.cmake :41

check_cxx_source_compiles(
    "#include <math.h>
     int main(int argc, char * argv[]) {
       double result;
       result = _j0(1.2345);
       result = _j1(1.2345);
       result = _jn(2, 1.2345);
       return 0;
     }"
     HAVE_UNDERSCORE_PREFIXED_BESSEL_FUNCTIONS)