Просмотр исходного кода

Fix typo in comment

The comment lists -lpthread twice, when "-lpthreads, -lpthread" is meant.
Also the grammar (did not found) is incorrect.
Mattias Ellert 4 лет назад
Родитель
Сommit
d897391782
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Modules/FindThreads.cmake

+ 1 - 1
Modules/FindThreads.cmake

@@ -106,7 +106,7 @@ endmacro()
 # Do NOT even think about using it outside of this file!
 macro(_check_pthreads_flag)
   if(NOT Threads_FOUND)
-    # If we did not found -lpthread, -lpthread, or -lthread, look for -pthread
+    # If we did not find -lpthreads, -lpthread, or -lthread, look for -pthread
     if(NOT DEFINED THREADS_HAVE_PTHREAD_ARG)
       message(CHECK_START "Check if compiler accepts -pthread")
       if(CMAKE_C_COMPILER_LOADED)