diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f08d736..64656c45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -275,10 +275,11 @@ CHECK_SYMBOL_EXISTS(floorf math.h HAVE_FLOORF) IF(HAVE_FENV_H) CHECK_SYMBOL_EXISTS(fesetround fenv.h HAVE_FESETROUND) ENDIF() +IF(HAVE_FLOAT_H) + CHECK_SYMBOL_EXISTS(_controlfp float.h HAVE__CONTROLFP) +ENDIF() CHECK_FUNCTION_EXISTS(strtof HAVE_STRTOF) -CHECK_FUNCTION_EXISTS(_controlfp HAVE__CONTROLFP) - CHECK_FUNCTION_EXISTS(stat HAVE_STAT) CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP) IF(NOT HAVE_STRCASECMP) |