Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't check for libintl.h on Darwin (OSX) (#20094)
  • Loading branch information
dagood authored and janvorli committed Sep 24, 2018
1 parent bcb2a56 commit 4e4665f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pal/src/configure.cmake
Expand Up @@ -37,7 +37,10 @@ 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 Darwin)
check_include_files("libintl.h" HAVE_LIBINTL_H)
endif()

if(NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD AND NOT CMAKE_SYSTEM_NAME STREQUAL NetBSD)
set(CMAKE_REQUIRED_FLAGS "-ldl")
Expand Down

0 comments on commit 4e4665f

Please sign in to comment.