From 40bc328813023ec3d82c5f3d15222eeff3137e27 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Wed, 25 Jun 2014 22:47:27 +0100 Subject: [PATCH] Remove pthread fatal check from CMakeLists.txt #891 --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 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)