mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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.
This commit is contained in:
parent
993dc6e97e
commit
34a16209bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user