aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/news.txt2
-rwxr-xr-xsrc/nvim/CMakeLists.txt13
2 files changed, 6 insertions, 9 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 2db1e75bf7..254ffc51b8 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -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.
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index f3344c10de..b02c740471 100755
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -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)
- target_link_libraries(main_lib INTERFACE ${LIBINTL_LIBRARY})
- endif()
+# 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()
# The unit test lib requires LuaJIT; it will be skipped if LuaJIT is missing.