yuzu/externals/vcpkg/ports/pthreads/usage

9 lines
316 B
Plaintext
Raw Normal View History

2022-07-23 05:01:36 +04:00
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)