diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a8e2a259..5e0bc9fcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/meson.build b/meson.build index c6d260d80..29988f880 100644 --- a/meson.build +++ b/meson.build @@ -64,7 +64,6 @@ check_funcs = [ ['getpagesize'], ['mmap'], ['isatty'], - ['roundf'], ] m_dep = cpp.find_library('m', required: false)