diff options
author | Chris Robinson <[email protected]> | 2017-06-29 10:11:31 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-06-29 10:11:31 -0700 |
commit | a69d608a1ec38e6afd903224e86c0bf29b8d0623 (patch) | |
tree | 449efe96be44689d54c0b1fb228bb181cbbac9c5 /CMakeLists.txt | |
parent | aefa11b6adf3bdd0e82d2c2f125d2bd62288e246 (diff) |
Define a backup log2f if the compiler doesn't have it
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4bba3c27..523e288d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -505,6 +505,7 @@ CHECK_SYMBOL_EXISTS(posix_memalign stdlib.h HAVE_POSIX_MEMALIGN) CHECK_SYMBOL_EXISTS(_aligned_malloc malloc.h HAVE__ALIGNED_MALLOC) CHECK_SYMBOL_EXISTS(lrintf math.h HAVE_LRINTF) CHECK_SYMBOL_EXISTS(modff math.h HAVE_MODFF) +CHECK_SYMBOL_EXISTS(log2f math.h HAVE_LOG2F) IF(NOT HAVE_C99_VLA) CHECK_SYMBOL_EXISTS(alloca malloc.h HAVE_ALLOCA) IF(NOT HAVE_ALLOCA) |