cmake LIBC_HAS_ examples

ComputationalBiomechanicsLab/opensim-creator third_party/SDL/CMakeLists.txt :1060

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

ComputationalBiomechanicsLab/opensim-creator third_party/SDL/CMakeLists.txt :1078

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

tanis2000/binocle-c src/deps/sdl/CMakeLists.txt :1052

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

tanis2000/binocle-c src/deps/sdl/CMakeLists.txt :1070

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :1015

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :1033

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

mxcop/src-dgi extern/sdl/CMakeLists.txt :1012

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

mxcop/src-dgi extern/sdl/CMakeLists.txt :1030

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

Hork-Engine/Hork-Source ThirdParty/SDL3/CMakeLists.txt :1017

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

Hork-Engine/Hork-Source ThirdParty/SDL3/CMakeLists.txt :1035

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

godlikepanos/anki-3d-engine ThirdParty/Sdl3/CMakeLists.txt :1060

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

godlikepanos/anki-3d-engine ThirdParty/Sdl3/CMakeLists.txt :1078

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

RavEngine/RavEngine deps/SDL/CMakeLists.txt :1060

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

RavEngine/RavEngine deps/SDL/CMakeLists.txt :1078

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)

cvet/fonline ThirdParty/SDL/CMakeLists.txt :1060

check_c_source_compiles("
        #include <math.h>
        int main() {
          double d = 3.14159;
          return ${math_fn}(d);
        }
      " LIBC_HAS_${MATH_FN})

cvet/fonline ThirdParty/SDL/CMakeLists.txt :1078

check_c_source_compiles("
      #include <math.h>
      int main() {
        float f = 3.14159f;
        return ${math_fn}f(f);
      }
    " LIBC_HAS_${MATH_FN}F)