QMCPACK/qmcpack
CMake/CheckSincos.cmake
:13
check_cxx_source_compiles("${SINCOS_TEST_SRC}" HAVE_SINCOS)
check_cxx_source_compiles("${SINCOS_TEST_SRC}" HAVE_SINCOS)
CHECK_CXX_SOURCE_COMPILES("
#define _GNU_SOURCE
#include <math.h>
int main(){double x, sin, cos; sincos(x, &sin, &cos); return 0;}
" HAVE_SINCOS
)
CHECK_FUNCTION_EXISTS(sincos HAVE_SINCOS)