cmake HAVE_SINCOS examples

QMCPACK/qmcpack CMake/CheckSincos.cmake :13

check_cxx_source_compiles("${SINCOS_TEST_SRC}" HAVE_SINCOS)

AMDmi3/glosm libglosm-client/CMakeLists.txt :9

CHECK_FUNCTION_EXISTS(sincos HAVE_SINCOS)

AMDmi3/glosm libglosm-client/CMakeLists.txt :15

ADD_DEFINITIONS(-DHAVE_SINCOS)

AMDmi3/glosm libglosm-client/CMakeLists.txt :16

ENDIF(HAVE_SINCOS)

gnuradio/gnuradio gnuradio-runtime/ConfigChecks.cmake :87

CHECK_CXX_SOURCE_COMPILES("
    #define _GNU_SOURCE
    #include <math.h>
    int main(){double x, sin, cos; sincos(x, &sin, &cos); return 0;}
    " HAVE_SINCOS
)

KDE/kstars kstars/CMakeLists.txt :25

check_cxx_symbol_exists(sincos "math.h" HAVE_SINCOS)

KDE/kstars kstars/CMakeLists.txt :27

add_definitions(-DHAVE_SINCOS)

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

check_symbol_exists (sincos      "${_math_h}" HAVE_SINCOS)

MRPT/mrpt cmakemodules/script_detect_functions_headers.cmake :20

CHECK_FUNCTION_EXISTS(sincos HAVE_SINCOS)