1
0
Fork 0

Make 3.2.1 fix: make thread check platform specific.

This commit is contained in:
James Turner 2015-03-17 23:33:57 +00:00
parent fe25c42408
commit 06a260822c

View file

@ -109,6 +109,8 @@ IF(APPLE)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7")
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR
${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
find_package(Threads REQUIRED)
set(USE_DBUS_DEFAULT 1)
find_package(UDev)
@ -230,7 +232,6 @@ endif(EVENT_INPUT)
# check required dependencies
find_package(Boost REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Threads REQUIRED)
find_package(OpenGL REQUIRED)
find_package(OpenAL REQUIRED)
find_package(OpenSceneGraph 3.2.0 REQUIRED