File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -827,44 +827,6 @@ set(TEST_MIDI_UTF8 "${FluidSynth_SOURCE_DIR}/test/èmpty.mid")
827827# Make sure to link against libm before checking for math functions below
828828set ( CMAKE_REQUIRED_LIBRARIES "${LIBFLUID_LIBS} ;${WINDOWS_LIBS} " )
829829
830- # Check for C99 float math
831-
832- unset ( HAVE_SINF CACHE )
833- CHECK_SYMBOL_EXISTS ( sinf "math.h" HAVE_SINF )
834- if ( HAVE_SINF )
835- set ( HAVE_SINF 1 )
836- endif ( HAVE_SINF )
837-
838- unset ( HAVE_COSF CACHE )
839- CHECK_SYMBOL_EXISTS ( cosf "math.h" HAVE_COSF )
840- if ( HAVE_COSF )
841- set ( HAVE_COSF 1 )
842- endif ( HAVE_COSF )
843-
844- unset ( HAVE_FABSF CACHE )
845- CHECK_SYMBOL_EXISTS ( fabsf "math.h" HAVE_FABSF )
846- if ( HAVE_FABSF )
847- set ( HAVE_FABSF 1 )
848- endif ( HAVE_FABSF )
849-
850- unset ( HAVE_POWF CACHE )
851- CHECK_SYMBOL_EXISTS ( powf "math.h" HAVE_POWF )
852- if ( HAVE_POWF )
853- set ( HAVE_POWF 1 )
854- endif ( HAVE_POWF )
855-
856- unset ( HAVE_SQRTF CACHE )
857- CHECK_SYMBOL_EXISTS ( sqrtf "math.h" HAVE_SQRTF )
858- if ( HAVE_SQRTF )
859- set ( HAVE_SQRTF 1 )
860- endif ( HAVE_SQRTF )
861-
862- unset ( HAVE_LOGF CACHE )
863- CHECK_SYMBOL_EXISTS ( logf "math.h" HAVE_LOGF )
864- if ( HAVE_LOGF )
865- set ( HAVE_LOGF 1 )
866- endif ( HAVE_LOGF )
867-
868830unset ( HAVE_INETNTOP CACHE )
869831unset ( IPV6_SUPPORT CACHE )
870832if ( WIN32 )
You can’t perform that action at this time.
0 commit comments