vcpkg/ports/pthreads/usage
JackBoosY 0a5b1b7917 [pthreads]Add usage. (#8651)
* [pthreads]Add usage.

* [pthreads]Update usage: using namespace.

* [pthreads]separate namespace.

* [pthreads]Remove target_include_directories.

* [pthreads]Increase version.
2019-10-29 23:16:21 -07:00

9 lines
316 B
Plaintext

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)