From 0f8fede68ae9bbdfffde42e9853f3463d4ad1fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 13 Oct 2024 17:06:34 +0200 Subject: [PATCH] core: add include directories for gettext libintl This fixes the macOS build in CI, failing on missing header `libintl.h`. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae7e5f4a6..9ea985413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -257,6 +257,7 @@ add_subdirectory(icons) if(ENABLE_NLS) find_package(Gettext REQUIRED) find_package(Intl REQUIRED) + include_directories(${Intl_INCLUDE_DIRS}) list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}") add_subdirectory(po) else()