cmake HAVE_ISNAN examples

LiangliangNan/MVStudio 3rd_party/nlopt/CMakeLists.txt :119

check_function_exists (isnan HAVE_ISNAN)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :613

CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN)

etternagame/etterna extern/fftw-3.3.8/CMakeLists.txt :83

check_symbol_exists (isnan math.h HAVE_ISNAN)

SWI-Prolog/swipl-devel cmake/Config.cmake :248

check_function_exists(isnan HAVE_ISNAN)

stevengj/nlopt CMakeLists.txt :96

check_function_exists (isnan HAVE_ISNAN)

arkdb/inception configure.cmake :576

CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN)

oofem/oofem CMakeLists.txt :736

check_cxx_symbol_exists ("isnan" "cmath" HAVE_ISNAN)

NVIDIA/cuda-quantum runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/CMakeLists.txt :46

check_function_exists (isnan HAVE_ISNAN)

alibaba/AliSQL configure.cmake :683

CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN)

SCIInstitute/SCIRun src/Externals/libxml2/CMakeLists.txt :141

CHECK_FUNCTION_EXISTS("isnan" HAVE_ISNAN)

GenericMappingTools/gmt cmake/modules/ConfigureChecks.cmake :368

check_symbol_exists (isnan       "${_math_h}" HAVE_ISNAN)

LLNL/SAMRAI cmake/CMakeConfigureFile.cmake :41

check_cxx_source_compiles("int test = std::isnan(0.0)" HAVE_ISNAN)

Tokutek/mysql-5.5 configure.cmake :500

CHECK_SYMBOL_EXISTS(isnan math.h HAVE_ISNAN)

Sneeds-Feed-and-Seed/sneedacity cmake-proxies/sqlite/CMakeLists.txt :20

list( APPEND DEFINES
   PRIVATE
      #
      # We need the dbpage table for space calculations.
      #
      SQLITE_ENABLE_DBPAGE_VTAB=1

      # Can't be set after a WAL mode database is initialized, so change
      # the default here to ensure all project files get the same page 
      # size.
      SQLITE_DEFAULT_PAGE_SIZE=65536

      #
      # Recommended in SQLite docs
      #
      SQLITE_DQS=0
      SQLITE_DEFAULT_MEMSTATUS=0
      SQLITE_DEFAULT_SYNCHRONOUS=1
      SQLITE_DEFAULT_WAL_SYNCHRONOUS=1
      SQLITE_LIKE_DOESNT_MATCH_BLOBS
      SQLITE_MAX_EXPR_DEPTH=0
      SQLITE_OMIT_DEPRECATED
      SQLITE_OMIT_SHARED_CACHE
      SQLITE_USE_ALLOCA
      SQLITE_OMIT_AUTOINIT
      $<$<BOOL:${HAVE_FDATASYNC}>:HAVE_FDATASYNC>
      $<$<BOOL:${HAVE_GMTIME_R}>:HAVE_GMTIME_R>
      $<$<BOOL:${HAVE_ISNAN}>:HAVE_ISNAN>
      $<$<BOOL:${HAVE_LOCALTIME_R}>:HAVE_LOCALTIME_R>
      $<$<BOOL:${HAVE_LOCALTIME_S}>:HAVE_LOCALTIME_S>
)

gazebosim/gazebo-classic deps/opende/CMakeLists.txt :63

CHECK_CXX_SOURCE_COMPILES("#include <math.h> 
int main() {isnan(0); return 1;}" HAVE_ISNAN)