diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2014-06-25 22:47:27 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-06-30 13:37:38 -0400 |
commit | 40bc328813023ec3d82c5f3d15222eeff3137e27 (patch) | |
tree | 94936f75399e7053dccd7028592573a21b040901 | |
parent | 370879a7fc87452a953439a0cdd983389dcfee0d (diff) | |
download | rneovim-40bc328813023ec3d82c5f3d15222eeff3137e27.tar.gz rneovim-40bc328813023ec3d82c5f3d15222eeff3137e27.tar.bz2 rneovim-40bc328813023ec3d82c5f3d15222eeff3137e27.zip |
Remove pthread fatal check from CMakeLists.txt #891
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ad0af4cea..b58f717eb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |