Don't check roundf availability in cmake and meson

This commit is contained in:
Ebrahim Byagowi 2020-06-28 13:35:13 +04:30
parent 08d57d9eca
commit 1536271f6b
2 changed files with 1 additions and 2 deletions

View File

@ -88,7 +88,7 @@ endmacro ()
if (UNIX)
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
endif ()
check_funcs(atexit mprotect sysconf getpagesize mmap isatty roundf)
check_funcs(atexit mprotect sysconf getpagesize mmap isatty)
check_include_file(unistd.h HAVE_UNISTD_H)
if (${HAVE_UNISTD_H})
add_definitions(-DHAVE_UNISTD_H)

View File

@ -64,7 +64,6 @@ check_funcs = [
['getpagesize'],
['mmap'],
['isatty'],
['roundf'],
]
m_dep = cpp.find_library('m', required: false)