diff options
-rw-r--r-- | src/pal/src/configure.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/src/configure.cmake b/src/pal/src/configure.cmake index 7d40d815f8..c5db338ab0 100644 --- a/src/pal/src/configure.cmake +++ b/src/pal/src/configure.cmake @@ -46,7 +46,9 @@ check_library_exists(pthread pthread_getattr_np "" HAVE_PTHREAD_GETATTR_NP) check_library_exists(pthread pthread_sigqueue "" HAVE_PTHREAD_SIGQUEUE) check_function_exists(sigreturn HAVE_SIGRETURN) check_function_exists(_thread_sys_sigreturn HAVE__THREAD_SYS_SIGRETURN) +set(CMAKE_REQUIRED_LIBRARIES m) check_function_exists(copysign HAVE_COPYSIGN) +set(CMAKE_REQUIRED_LIBRARIES) check_function_exists(fsync HAVE_FSYNC) check_function_exists(futimes HAVE_FUTIMES) check_function_exists(utimes HAVE_UTIMES) |