neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 34a16209bb8fdca1007ac76eb8d02bc7a2575402
parent 993dc6e97e895d2afbc2ff75c77f50db1ba810cd
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Tue, 24 Jan 2023 10:40:18 +0100

build: delete pthreads import (#21732)

We shouldn't need this as all threading should already be handled by
libuv. Furthermore, it wasn't even used correctly as
CMAKE_THREAD_PREFER_PTHREAD has been removed from cmake a long time ago.
Diffstat:
Msrc/nvim/CMakeLists.txt | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt @@ -62,12 +62,6 @@ else() target_link_libraries(main_lib INTERFACE ${LUAJIT_LIBRARIES}) endif() -# Determine platform's threading library. Set CMAKE_THREAD_PREFER_PTHREAD -# explicitly to indicate a strong preference for pthread. -set(CMAKE_THREAD_PREFER_PTHREAD ON) -find_package(Threads REQUIRED) -target_link_libraries(main_lib INTERFACE ${CMAKE_THREAD_LIBS_INIT}) - option(ENABLE_IWYU "Run include-what-you-use with the compiler." OFF) if(ENABLE_IWYU) find_program(IWYU_PRG NAMES include-what-you-use iwyu)