mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Windows: Only link against libm, libutil on Unix. #3324
This commit is contained in:
parent
48786f076c
commit
2bc1d7d0db
@ -223,16 +223,21 @@ endif()
|
|||||||
|
|
||||||
# Put these last on the link line, since multiple things may depend on them.
|
# Put these last on the link line, since multiple things may depend on them.
|
||||||
list(APPEND NVIM_LINK_LIBRARIES
|
list(APPEND NVIM_LINK_LIBRARIES
|
||||||
${LIBUV_LIBRARIES}
|
${LIBUV_LIBRARIES}
|
||||||
${MSGPACK_LIBRARIES}
|
${MSGPACK_LIBRARIES}
|
||||||
${LUAJIT_LIBRARIES}
|
${LUAJIT_LIBRARIES}
|
||||||
${LIBVTERM_LIBRARIES}
|
${LIBVTERM_LIBRARIES}
|
||||||
${LIBTERMKEY_LIBRARIES}
|
${LIBTERMKEY_LIBRARIES}
|
||||||
${UNIBILIUM_LIBRARIES}
|
${UNIBILIUM_LIBRARIES}
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
)
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
|
list(APPEND NVIM_LINK_LIBRARIES
|
||||||
m
|
m
|
||||||
util
|
util
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
)
|
||||||
)
|
endif()
|
||||||
|
|
||||||
set(NVIM_EXEC_LINK_LIBRARIES ${NVIM_LINK_LIBRARIES})
|
set(NVIM_EXEC_LINK_LIBRARIES ${NVIM_LINK_LIBRARIES})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user