diff options
| author | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-11-01 18:34:42 +0100 |
|---|---|---|
| committer | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-11-06 00:18:26 +0100 |
| commit | 8c5efd62ac97b0a44fb5a68e4fd91997fcede000 (patch) | |
| tree | d5f696072e4f2879cd77d48d4d8e3bde0a6bd14e /config | |
| parent | 3972715ce791466c1ea3c873f78e95e13eba6e58 (diff) | |
| download | rneovim-8c5efd62ac97b0a44fb5a68e4fd91997fcede000.tar.gz rneovim-8c5efd62ac97b0a44fb5a68e4fd91997fcede000.tar.bz2 rneovim-8c5efd62ac97b0a44fb5a68e4fd91997fcede000.zip | |
iconv: re-enable
This seems to have been disabled in the transition from vim to neovim,
re-enable it.
Diffstat (limited to 'config')
| -rw-r--r-- | config/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index 330bd4bc37..c48887548d 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -43,7 +43,14 @@ check_function_exists(fsync HAVE_FSYNC) check_function_exists(getpwent HAVE_GETPWENT) check_function_exists(getpwnam HAVE_GETPWNAM) check_function_exists(getpwuid HAVE_GETPWUID) + +check_include_files(iconv.h HAVE_ICONV_H) +check_library_exists(iconv iconv "" HAVE_ICONV_LIB) +if(HAVE_ICONV_LIB) + set(CMAKE_REQUIRED_LIBRARIES iconv) +endif() check_function_exists(iconv HAVE_ICONV) + check_function_exists(lstat HAVE_LSTAT) if(NOT HAVE_LSTAT) # os_unix.c uses lstat.c |