summaryrefslogtreecommitdiff
path: root/src/pal/src/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/src/configure.cmake')
-rw-r--r--src/pal/src/configure.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pal/src/configure.cmake b/src/pal/src/configure.cmake
index 86b5d945b3..d1c7506375 100644
--- a/src/pal/src/configure.cmake
+++ b/src/pal/src/configure.cmake
@@ -38,6 +38,7 @@ check_include_files(sys/prctl.h HAVE_PRCTL_H)
check_include_files(numa.h HAVE_NUMA_H)
check_include_files(pthread_np.h HAVE_PTHREAD_NP_H)
check_include_files("sys/auxv.h;asm/hwcap.h" HAVE_AUXV_HWCAP_H)
+check_include_files("libintl.h" HAVE_LIBINTL_H)
if(NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD AND NOT CMAKE_SYSTEM_NAME STREQUAL NetBSD)
set(CMAKE_REQUIRED_FLAGS "-ldl")
@@ -421,7 +422,7 @@ int main()
exit(ret);
}" HAVE_CLOCK_MONOTONIC)
-check_library_exists(pthread pthread_condattr_setclock "" HAVE_PTHREAD_CONDATTR_SETCLOCK)
+check_library_exists(${PTHREAD_LIBRARY} pthread_condattr_setclock "" HAVE_PTHREAD_CONDATTR_SETCLOCK)
check_cxx_source_runs("
#include <stdlib.h>