Remove -pthread argument.

This commit is contained in:
Ryan C. Gordon 2017-07-12 00:33:47 -04:00
parent 0f514bbae3
commit 5f5eca8d01
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ if(HAIKU)
endif()
if(UNIX AND NOT WINDOWS AND NOT APPLE) # (MingW and such might be UNIX _and_ WINDOWS!)
set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-pthread")
find_library(PTHREAD_LIBRARY pthread)
if(PTHREAD_LIBRARY)
set(OPTIONAL_LIBRARY_LIBS ${OPTIONAL_LIBRARY_LIBS} ${PTHREAD_LIBRARY})