aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-10 18:33:23 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-10 18:33:23 +0200
commitf9a102456fa6a0b43a916ceaf031f21ea5665e6e (patch)
treea735b23a7151d030fc0c093376ff31855336d46e
parent63dde38bff686769072e6dc15aae6c83b6a9d9de (diff)
downloadtermo-master.tar.gz
termo-master.tar.xz
termo-master.zip
Fix certain non-GNU build configurationsHEADorigin/mastermaster
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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})