ENH: MAke it work on FreeBSD
This commit is contained in:
parent
ff5f0312de
commit
7d1cbf26d9
|
@ -81,11 +81,6 @@ IF(CMAKE_USE_PTHREADS_INIT)
|
||||||
SET(CMAKE_THREAD_LIBS_INIT )
|
SET(CMAKE_THREAD_LIBS_INIT )
|
||||||
ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V*")
|
ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V*")
|
||||||
|
|
||||||
IF(CMAKE_SYSTEM MATCHES "FreeBSD*")
|
|
||||||
SET(CMAKE_USE_PTHREADS_INIT 0)
|
|
||||||
SET(CMAKE_THREAD_LIBS_INIT )
|
|
||||||
ENDIF(CMAKE_SYSTEM MATCHES "FreeBSD*")
|
|
||||||
|
|
||||||
IF(CMAKE_SYSTEM MATCHES "CYGWIN_NT*")
|
IF(CMAKE_SYSTEM MATCHES "CYGWIN_NT*")
|
||||||
SET(CMAKE_USE_PTHREADS_INIT 1)
|
SET(CMAKE_USE_PTHREADS_INIT 1)
|
||||||
SET(CMAKE_THREAD_LIBS_INIT )
|
SET(CMAKE_THREAD_LIBS_INIT )
|
||||||
|
|
Loading…
Reference in New Issue