vcpkg/ports/pthreads/usage
Stefano Sinigardi 8eb76645c0
[pthreads4w] update for single config builds, improve downstream compatibility (#24308)
* [pthreads4w] update for single config builds, improve downstream compatibility

* [darknet] remove integrated pthreads cmake module

* [pthreads4w] use config instead of module naming

* fix library search path

* improve downstream compatibility even more

* fix references

* do not store deprecated symbols in PThreads4W cmake config

* fix references

* [pthreads4w] add license

* fix references

* Update ports/pthreads/vcpkg.json

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* add usage

* update refs

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-06-27 16:45:13 -07:00

5 lines
151 B
Plaintext

The package pthreads provides CMake targets:
find_package(PThreads4W REQUIRED)
target_link_libraries(main PRIVATE PThreads4W::PThreads4W)