mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
9cea606881
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
11 lines
433 B
CMake
11 lines
433 B
CMake
if (APPLE OR CMAKE_SYSTEM MATCHES "FreeBSD")
|
|
set (ICONV_INCLUDE_PATHS "/usr/local/opt/libiconv/lib")
|
|
find_path (ICONV_INCLUDE_DIR iconv.h PATHS ${ICONV_INCLUDE_PATHS})
|
|
set (ICONV_PATHS "/usr/local/opt/libiconv/lib")
|
|
find_library (ICONV_LIBRARY iconv PATHS ${ICONV_PATHS})
|
|
message (STATUS "Using iconv: ${ICONV_INCLUDE_DIR} : ${ICONV_LIBRARY}")
|
|
include_directories(${ICONV_INCLUDE_DIR})
|
|
else ()
|
|
set (ICONV_LIBRARY "")
|
|
endif ()
|