Skip to content

Commit

Permalink
Made spinlocks not found if pthreads are not detected
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Jun 12, 2013
1 parent f3582a4 commit 4649493
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/FindSpinlock.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ IF (CMAKE_USE_PTHREADS_INIT)
MESSAGE(STATUS "Spinlock support not found")
SET(SPINLOCK_FOUND FALSE)
ENDIF (HAVE_SPINLOCK)
ELSE ()
MESSAGE(STATUS "Spinlock support not found due to no pthreads available")
SET(SPINLOCK_FOUND FALSE)
ENDIF ()

0 comments on commit 4649493

Please sign in to comment.