From 3d0ff1324c358f0192bee8fabbacb79add6352e4 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 5 Jan 2013 18:33:11 +0100 Subject: [PATCH] Restored use of CMake Threads package. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 232a1066..f879b06d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,9 @@ else() find_package(OpenGL REQUIRED) endif() +set(CMAKE_THREAD_PREFER_PTHREAD OFF) +find_package(Threads REQUIRED) + #-------------------------------------------------------------------- # Enable all warnings on GCC, regardless of OS #--------------------------------------------------------------------