From 1536271f6b4940eb0a4f28e406bfc96f00d1293d Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sun, 28 Jun 2020 13:35:13 +0430 Subject: [PATCH] Don't check roundf availability in cmake and meson --- CMakeLists.txt | 2 +- meson.build | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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)