summaryrefslogtreecommitdiffstats
path: root/Modules/FindThreads.cmake
diff options
context:
space:
mode:
authorMattias Ellert <mattias.ellert@physics.uu.se>2021-09-06 04:54:51 (GMT)
committerMattias Ellert <mattias.ellert@physics.uu.se>2021-09-06 04:54:51 (GMT)
commitd897391782f0452984add2e4ea10abdf14107c5d (patch)
tree59f7aaa5e721ddf1c2520a2a488600036d97da3c /Modules/FindThreads.cmake
parent86ee38d75678d68bb1a79b9fa443b42723b09f23 (diff)
downloadCMake-d897391782f0452984add2e4ea10abdf14107c5d.zip
CMake-d897391782f0452984add2e4ea10abdf14107c5d.tar.gz
CMake-d897391782f0452984add2e4ea10abdf14107c5d.tar.bz2
Fix typo in comment
The comment lists -lpthread twice, when "-lpthreads, -lpthread" is meant. Also the grammar (did not found) is incorrect.
Diffstat (limited to 'Modules/FindThreads.cmake')
-rw-r--r--Modules/FindThreads.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index c6a3451..e4d6cf3 100644
--- a/Modules/FindThreads.cmake
+++ b/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)