summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-02 00:39:12 +0530
committerSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-02 00:39:12 +0530
commita2a1d5a0389f39abe2da0aa7b2a44fd83b990dfb (patch)
treee2e80d135a50b1d7c901154902fbda0e76f2dc93
parent943bdc7fbd79ec93d8871806ff2d58c9f8a276ac (diff)
downloadcmake-a2a1d5a0389f39abe2da0aa7b2a44fd83b990dfb.tar.gz
FindIconv use NAMES_PER_DIR
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
-rw-r--r--Modules/FindIconv.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindIconv.cmake b/Modules/FindIconv.cmake
index bf20f6f7ea..8fd5fbaf14 100644
--- a/Modules/FindIconv.cmake
+++ b/Modules/FindIconv.cmake
@@ -110,6 +110,7 @@ endif()
find_library(Iconv_LIBRARY
NAMES ${Iconv_LIBRARY_NAMES}
+ NAMES_PER_DIR
DOC "iconv library (potentially the C library)")
mark_as_advanced(Iconv_INCLUDE_DIR)