浏览代码

Remove -pthread argument.

Ryan C. Gordon 8 年之前
父节点
当前提交
5f5eca8d01
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      CMakeLists.txt

+ 0 - 1
CMakeLists.txt

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