From 3628d3fc9cef39ccae18f3ce7e6d72bfe9516a27 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 26 Nov 2019 14:31:14 -0800 Subject: [PATCH] Mayaqua: Fix compilation with external iconv This small modification is needed for external iconv. This patch is carried in OpenWrt. --- src/Mayaqua/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mayaqua/CMakeLists.txt b/src/Mayaqua/CMakeLists.txt index b4a536c3..e0ab5281 100644 --- a/src/Mayaqua/CMakeLists.txt +++ b/src/Mayaqua/CMakeLists.txt @@ -59,7 +59,7 @@ if(UNIX) find_package(ZLIB REQUIRED) # In some cases libiconv is not included in libc - find_library(LIB_ICONV iconv) + find_library(LIB_ICONV iconv HINTS "${ICONV_LIB_PATH}") find_library(LIB_RT rt)