aboutsummaryrefslogtreecommitdiff
path: root/ports/pthreads/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/pthreads/usage')
-rw-r--r--ports/pthreads/usage9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/pthreads/usage b/ports/pthreads/usage
new file mode 100644
index 000000000..343c97f44
--- /dev/null
+++ b/ports/pthreads/usage
@@ -0,0 +1,9 @@
+The package pthreads provides CMake targets:
+
+ find_package(pthreads REQUIRED)
+
+ target_link_libraries(main PRIVATE PThreads4W::PThreads4W)
+ #or
+ target_link_libraries(main PRIVATE PThreads4W::PThreads4W_CXXEXC)
+ #or
+ target_link_libraries(main PRIVATE PThreads4W::PThreads4W_STRUCTEXC) \ No newline at end of file