diff options
author | Chris Robinson <[email protected]> | 2011-09-22 01:00:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-22 01:00:44 -0700 |
commit | a4b1239f45daa29bb423077da60804d7bf9287eb (patch) | |
tree | 0a9f7025fe1d298f5de58fde0836af9541c3ed01 /CMakeLists.txt | |
parent | 43350f9066f0c28ac8ff6269783db222508dec45 (diff) |
Use cosf and sinf when available
Also clear away a few more MSVC precision warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5552152c..21e9189d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,13 +225,15 @@ CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H) CHECK_LIBRARY_EXISTS(m powf "" HAVE_POWF) CHECK_LIBRARY_EXISTS(m sqrtf "" HAVE_SQRTF) +CHECK_LIBRARY_EXISTS(m cosf "" HAVE_COSF) +CHECK_LIBRARY_EXISTS(m sinf "" HAVE_SINF) CHECK_LIBRARY_EXISTS(m acosf "" HAVE_ACOSF) CHECK_LIBRARY_EXISTS(m atanf "" HAVE_ATANF) CHECK_LIBRARY_EXISTS(m fabsf "" HAVE_FABSF) IF(HAVE_FENV_H) CHECK_LIBRARY_EXISTS(m fesetround "" HAVE_FESETROUND) ENDIF() -IF(HAVE_SQRTF OR HAVE_ACOSF OR HAVE_ATANF OR HAVE_FABSF OR HAVE_FESETROUND) +IF(HAVE_SQRTF OR HAVE_COSF OR HAVE_SINF OR HAVE_ACOSF OR HAVE_ATANF OR HAVE_FABSF OR HAVE_FESETROUND) SET(EXTRA_LIBS m ${EXTRA_LIBS}) ENDIF() CHECK_FUNCTION_EXISTS(strtof HAVE_STRTOF) |