Removed IRIX Sproc thead support as IRIX is load dead
This commit is contained in:
parent
2c39fa52b8
commit
05f37bec53
@ -76,17 +76,6 @@ IF(NOT ANDROID)
|
||||
# Use our modified version of FindThreads.cmake which has Sproc hacks.
|
||||
FIND_PACKAGE(Threads)
|
||||
ENDIF()
|
||||
# Do we have sproc?
|
||||
IF(CMAKE_SYSTEM MATCHES IRIX)
|
||||
IF(CMAKE_USE_SPROC_INIT)
|
||||
# In this case, only Sproc exists, so no option.
|
||||
SET(OPENTHREADS_USE_SPROC_INSTEAD_OF_PTHREADS 1)
|
||||
ELSE()
|
||||
IF(CMAKE_HAVE_SPROC_H)
|
||||
OPTION(OPENTHREADS_USE_SPROC_INSTEAD_OF_PTHREADS "Set to ON to build OpenThreads against sproc instead of pthreads" OFF)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDIF(CMAKE_SYSTEM MATCHES IRIX)
|
||||
|
||||
# Add support for using Qt threads
|
||||
IF(QT4_FOUND OR Qt5Widgets_FOUND)
|
||||
@ -109,11 +98,7 @@ ELSEIF(WIN32)
|
||||
ENDIF()
|
||||
ELSE()
|
||||
IF(UNIX)
|
||||
IF(OPENTHREADS_USE_SPROC_INSTEAD_OF_PTHREADS)
|
||||
SUBDIRS(sproc)
|
||||
ELSE()
|
||||
SUBDIRS(pthreads)
|
||||
ENDIF()
|
||||
SUBDIRS(pthreads)
|
||||
ELSE()
|
||||
MESSAGE("Sorry, OpenThreads may not support your platform")
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user