mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
a0292b4e5f
Large parts the library weren't being used, and the parts that were was overly
abstracted for our use case. Additionally, part of its use case was to abstract
pkgconfig boilerplate, which is no longer needed as pkgconfig has been removed
in favor of relying on cmake alone in 09118052ce
.
9 lines
367 B
CMake
9 lines
367 B
CMake
# TODO(dundargoc): FindIconv is shipped by default on cmake version 3.11+. This
|
|
# file can be removed once we decide to upgrade minimum cmake version.
|
|
|
|
find_path(ICONV_INCLUDE_DIR NAMES iconv.h)
|
|
find_library(ICONV_LIBRARY NAMES iconv libiconv)
|
|
find_package_handle_standard_args(Iconv DEFAULT_MSG
|
|
ICONV_INCLUDE_DIR)
|
|
mark_as_advanced(ICONV_INCLUDE_DIR ICONV_LIBRARY)
|