diff options
-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) |