mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user