diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pthreads/vcpkg-cmake-wrapper-pthread.cmake | |
Diffstat (limited to 'vcpkg/ports/pthreads/vcpkg-cmake-wrapper-pthread.cmake')
| -rw-r--r-- | vcpkg/ports/pthreads/vcpkg-cmake-wrapper-pthread.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/pthreads/vcpkg-cmake-wrapper-pthread.cmake b/vcpkg/ports/pthreads/vcpkg-cmake-wrapper-pthread.cmake new file mode 100644 index 0000000..0d0515c --- /dev/null +++ b/vcpkg/ports/pthreads/vcpkg-cmake-wrapper-pthread.cmake @@ -0,0 +1,13 @@ +_find_package(PThreads4W) +set(PTHREAD_INCLUDE_DIR "${PThreads4W_INCLUDE_DIR}") +set(PTHREAD_LIBRARY "${PThreads4W_LIBRARY}") +set(PTHREAD_LIBRARIES "${PThreads4W_LIBRARY}") +set(PTHREAD_VERSION "${PThreads4W_VERSION}") +set(LIBPTHREAD "${PThreads4W_LIBRARY}") +set(LIBPTHREADS "${PThreads4W_LIBRARY}") + +if(PThreads4W_FOUND) + set(PTHREAD_FOUND TRUE) + set(LIBPTHREAD_FOUND TRUE) + set(LIBPTHREADS_FOUND TRUE) +endif() |