mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user