FluidSynth/fluidsynth
CMakeLists.txt
:802
unset ( HAVE_COSF CACHE )
unset ( HAVE_COSF CACHE )
CHECK_SYMBOL_EXISTS ( cosf "math.h" HAVE_COSF )
endif ( HAVE_COSF )
CHECK_CXX_SOURCE_COMPILES("
#include <math.h>
int main(){cosf(0); return 0;}
" HAVE_COSF
)
unset ( HAVE_COSF CACHE )
CHECK_SYMBOL_EXISTS ( cosf "math.h" HAVE_COSF )
endif ( HAVE_COSF )
check_symbol_exists (cosf "${_math_h}" HAVE_COSF)
CHECK_CXX_SOURCE_COMPILES("#include <math.h>
int main() {cosf(0); return 1;}" HAVE_COSF)