Don't check roundf availability in cmake and meson
This commit is contained in:
parent
08d57d9eca
commit
1536271f6b
|
@ -88,7 +88,7 @@ endmacro ()
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
|
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
|
||||||
endif ()
|
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)
|
check_include_file(unistd.h HAVE_UNISTD_H)
|
||||||
if (${HAVE_UNISTD_H})
|
if (${HAVE_UNISTD_H})
|
||||||
add_definitions(-DHAVE_UNISTD_H)
|
add_definitions(-DHAVE_UNISTD_H)
|
||||||
|
|
|
@ -64,7 +64,6 @@ check_funcs = [
|
||||||
['getpagesize'],
|
['getpagesize'],
|
||||||
['mmap'],
|
['mmap'],
|
||||||
['isatty'],
|
['isatty'],
|
||||||
['roundf'],
|
|
||||||
]
|
]
|
||||||
|
|
||||||
m_dep = cpp.find_library('m', required: false)
|
m_dep = cpp.find_library('m', required: false)
|
||||||
|
|
Loading…
Reference in New Issue