diff options
author | John Szakmeister <john@szakmeister.net> | 2014-11-08 16:18:04 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-11-08 16:22:35 -0500 |
commit | 9344a40e741557948215dfeb4ae32b7c0d6d7b6b (patch) | |
tree | f76d3c21d1c2fdaced89bc82bb82108b73189c7f /src | |
parent | 203a5166a06cccc8b9bf0b190b9278634381b3be (diff) | |
download | rneovim-9344a40e741557948215dfeb4ae32b7c0d6d7b6b.tar.gz rneovim-9344a40e741557948215dfeb4ae32b7c0d6d7b6b.tar.bz2 rneovim-9344a40e741557948215dfeb4ae32b7c0d6d7b6b.zip |
build: pull iconv detection into its own FindIconv.cmake file
This will provide better control for those who may want to alter which
one gets used.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 5b97cf5f40..4e0819cc0e 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -158,8 +158,8 @@ else() endif() endif() -if(HAVE_ICONV_LIB) - list(APPEND NVIM_LINK_LIBRARIES iconv) +if(Iconv_LIBRARIES) + list(APPEND NVIM_LINK_LIBRARIES ${Iconv_LIBRARIES}) endif() # Put these last on the link line, since multiple things may depend on them. |