aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-24 12:17:39 -0700
committerChris Robinson <[email protected]>2011-09-24 12:17:39 -0700
commitcf56b0733b86019631c4b877ece6bcceb3b2b50a (patch)
treebe8ecd14048eeafed8a1c0d493f840ba4329a0ae /CMakeLists.txt
parent2b0a63003fca82f1bc5d1e36cf44d0018dc1b257 (diff)
Look for and use atan2f, log10f, and floorf
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 11 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 89762164..4f4902bb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -231,14 +231,17 @@ IF(HAVE_LIBM)
ENDIF()
-CHECK_SYMBOL_EXISTS(powf math.h HAVE_POWF)
-CHECK_SYMBOL_EXISTS(sqrtf math.h HAVE_SQRTF)
-CHECK_SYMBOL_EXISTS(cosf math.h HAVE_COSF)
-CHECK_SYMBOL_EXISTS(sinf math.h HAVE_SINF)
-CHECK_SYMBOL_EXISTS(acosf math.h HAVE_ACOSF)
-CHECK_SYMBOL_EXISTS(asinf math.h HAVE_ASINF)
-CHECK_SYMBOL_EXISTS(atanf math.h HAVE_ATANF)
-CHECK_SYMBOL_EXISTS(fabsf math.h HAVE_FABSF)
+CHECK_SYMBOL_EXISTS(powf math.h HAVE_POWF)
+CHECK_SYMBOL_EXISTS(sqrtf math.h HAVE_SQRTF)
+CHECK_SYMBOL_EXISTS(cosf math.h HAVE_COSF)
+CHECK_SYMBOL_EXISTS(sinf math.h HAVE_SINF)
+CHECK_SYMBOL_EXISTS(acosf math.h HAVE_ACOSF)
+CHECK_SYMBOL_EXISTS(asinf math.h HAVE_ASINF)
+CHECK_SYMBOL_EXISTS(atanf math.h HAVE_ATANF)
+CHECK_SYMBOL_EXISTS(atan2f math.h HAVE_ATAN2F)
+CHECK_SYMBOL_EXISTS(fabsf math.h HAVE_FABSF)
+CHECK_SYMBOL_EXISTS(log10f math.h HAVE_LOG10F)
+CHECK_SYMBOL_EXISTS(floorf math.h HAVE_FLOORF)
IF(HAVE_FENV_H)
CHECK_SYMBOL_EXISTS(fesetround fenv.h HAVE_FESETROUND)