Restored use of CMake Threads package.

This commit is contained in:
Camilla Berglund 2013-01-05 18:33:11 +01:00
parent 478347004d
commit 3d0ff1324c

View File

@ -30,6 +30,9 @@ else()
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
endif() endif()
set(CMAKE_THREAD_PREFER_PTHREAD OFF)
find_package(Threads REQUIRED)
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Enable all warnings on GCC, regardless of OS # Enable all warnings on GCC, regardless of OS
#-------------------------------------------------------------------- #--------------------------------------------------------------------