diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-11-21 17:02:31 -0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-11-27 00:52:06 +0100 |
commit | 2cb48f58c247c801a101b1625df2ff71a4f8be71 (patch) | |
tree | a328dd643d5ee5a70ebd5bd36a92428f1c29bd10 /include | |
parent | 6bac7bbf46f9f56252325cccaad1f514d344902d (diff) | |
download | upstream-2cb48f58c247c801a101b1625df2ff71a4f8be71.tar.gz upstream-2cb48f58c247c801a101b1625df2ff71a4f8be71.tar.bz2 upstream-2cb48f58c247c801a101b1625df2ff71a4f8be71.zip |
nls.mk: fixup cmake packages
Instead of manually overriding every cmake package that uses iconv or
gettext's paths, add the prefix in here so that at least FindIconv.cmake
works. Fixes compilation with BUILD_NLS.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/nls.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nls.mk b/include/nls.mk index 90fc27660f..f054d2bb68 100644 --- a/include/nls.mk +++ b/include/nls.mk @@ -10,6 +10,7 @@ ifeq ($(CONFIG_BUILD_NLS),y) INTL_PREFIX:=$(STAGING_DIR)/usr/lib/libintl-full INTL_FULL:=1 + CMAKE_OPTIONS += -DCMAKE_PREFIX_PATH="$(ICONV_PREFIX);$(INTL_PREFIX)" else ICONV_PREFIX:= ICONV_FULL:= |