mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
Remove pthread fatal check from CMakeLists.txt #891
This commit is contained in:
parent
370879a7fc
commit
40bc328813
@ -85,13 +85,9 @@ if(LibIntl_FOUND)
|
||||
endif()
|
||||
|
||||
# Determine platform's threading library. Set CMAKE_THREAD_PREFER_PTHREAD
|
||||
# explicitly to indicate a strong preference for pthread. It is an error to not
|
||||
# have pthread installed even if, for example, the Win32 threading API is found.
|
||||
# explicitly to indicate a strong preference for pthread.
|
||||
set(CMAKE_THREAD_PREFER_PTHREAD ON)
|
||||
find_package(Threads REQUIRED)
|
||||
if(NOT CMAKE_USE_PTHREADS_INIT)
|
||||
message(SEND_ERROR "The pthread library must be installed on your system.")
|
||||
endif(NOT CMAKE_USE_PTHREADS_INIT)
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user