From f9a102456fa6a0b43a916ceaf031f21ea5665e6e Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Wed, 10 Apr 2024 18:33:23 +0200 Subject: Fix certain non-GNU build configurations --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f08c197..5a4d85b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,8 @@ else () endif () # -liconv may or may not be a part of libc +find_path (iconv_INCLUDE_DIRS iconv.h) +include_directories (${iconv_INCLUDE_DIRS}) find_library (iconv_LIBRARIES iconv) if (iconv_LIBRARIES) list (APPEND lib_libraries ${iconv_LIBRARIES}) -- cgit v1.2.3-70-g09d2