urho3d/urho3d
Source/CMakeLists.txt
:19
check_library_exists (m sincosf "" HAVE_SINCOSF)
check_library_exists (m sincosf "" HAVE_SINCOSF)
add_definitions (-DHAVE_SINCOSF)
CHECK_SYMBOL_EXISTS(sincosf math.h HAVE_SINCOSF)
check_library_exists (m sincosf "" HAVE_SINCOSF)
add_definitions (-DHAVE_SINCOSF)
CHECK_CXX_SOURCE_COMPILES("
#define _GNU_SOURCE
#include <math.h>
int main(){float x, sin, cos; sincosf(x, &sin, &cos); return 0;}
" HAVE_SINCOSF
)
foreach(HAVE HAVE___SINCOSF HAVE_MALLOC_USABLE_SIZE HAVE_STDINT_H HAVE_INTTYPES_H HAVE_MALLOC_H HAVE_SINCOSF HAVE_RTL_OSVERSIONINFOW)