mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build!: make libintl a required dependency
Libintl being an optional dependency is not by design, but a workaround as it didn't use work on all platforms. That should be fixed by now.
This commit is contained in:
parent
706bcab75e
commit
1637bcce7b
@ -45,7 +45,7 @@ The following changes may require adaptations in user config or plugins.
|
||||
- `printheader`
|
||||
- `printmbcharset`
|
||||
|
||||
• libiconv is now a required build dependency.
|
||||
• libiconv and intl are now required build dependencies.
|
||||
|
||||
• Unsaved changes are now preserved rather than discarded when |channel-stdio|
|
||||
is closed.
|
||||
|
@ -32,14 +32,11 @@ target_link_libraries(main_lib INTERFACE
|
||||
treesitter
|
||||
unibilium)
|
||||
|
||||
option(ENABLE_LIBINTL "enable libintl" ON)
|
||||
if(ENABLE_LIBINTL)
|
||||
# Libintl (not Intl) selects our FindLibintl.cmake script. #8464
|
||||
find_package(Libintl REQUIRED)
|
||||
target_include_directories(main_lib SYSTEM BEFORE INTERFACE ${LIBINTL_INCLUDE_DIR})
|
||||
if (LIBINTL_LIBRARY)
|
||||
# Libintl (not Intl) selects our FindLibintl.cmake script. #8464
|
||||
find_package(Libintl REQUIRED)
|
||||
target_include_directories(main_lib SYSTEM BEFORE INTERFACE ${LIBINTL_INCLUDE_DIR})
|
||||
if (LIBINTL_LIBRARY)
|
||||
target_link_libraries(main_lib INTERFACE ${LIBINTL_LIBRARY})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# The unit test lib requires LuaJIT; it will be skipped if LuaJIT is missing.
|
||||
|
Loading…
Reference in New Issue
Block a user