Skip to content

Commit

Permalink
Remove -pthread argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 12, 2017
1 parent 0f514bb commit 5f5eca8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Expand Up @@ -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})
Expand Down

0 comments on commit 5f5eca8

Please sign in to comment.