diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-26 22:46:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-26 22:46:10 +0100 |
commit | 0f22ea400ce5319a1e74eda41505fd9cfb788e35 (patch) | |
tree | 928880b32a89f82b36899f4140c1aa68a546d1a1 /src | |
parent | 0da50da6e243df449c5fb64164aa44338f2a6d4b (diff) | |
download | rneovim-0f22ea400ce5319a1e74eda41505fd9cfb788e35.tar.gz rneovim-0f22ea400ce5319a1e74eda41505fd9cfb788e35.tar.bz2 rneovim-0f22ea400ce5319a1e74eda41505fd9cfb788e35.zip |
ci: disable libintl on mac release
The releases doesn't work on intel mac as libintl isn't available on the system
by default. This makes `:language` not work for the shipped macos releases,
though the reduction in build system complexity most likely outweighs that.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index e03a53669b..908ed18eaf 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -25,7 +25,6 @@ target_include_directories(main_lib SYSTEM BEFORE INTERFACE ${LUV_INCLUDE_DIR}) target_link_libraries(main_lib INTERFACE ${LUV_LIBRARY}) find_package(Iconv REQUIRED) -find_package(Libintl REQUIRED) # Libintl (not Intl) selects our FindLibintl.cmake script. #8464 find_package(Libuv 1.28.0 REQUIRED) find_package(Libvterm 0.3.3 REQUIRED) find_package(Lpeg REQUIRED) @@ -35,7 +34,6 @@ find_package(Unibilium 2.0 REQUIRED) target_link_libraries(main_lib INTERFACE iconv - libintl libvterm lpeg msgpack @@ -43,6 +41,11 @@ target_link_libraries(main_lib INTERFACE unibilium) target_link_libraries(nlua0 PUBLIC lpeg) +if(ENABLE_LIBINTL) + find_package(Libintl REQUIRED) # Libintl (not Intl) selects our FindLibintl.cmake script. #8464 + target_link_libraries(main_lib INTERFACE libintl) +endif() + target_compile_definitions(main_lib INTERFACE HAVE_UNIBILIUM) # The unit test lib requires LuaJIT; it will be skipped if LuaJIT is missing. |