Adjusted pthreads4w search path
@@ -337,7 +337,7 @@ IF (NOT WIN32)
SET (THREADS_PREFER_PTHREAD_FLAG TRUE)
INCLUDE (FindThreads)
ELSE (NOT WIN32)
- SET (PTHREADS4W_ROOT ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
+ SET (PTHREADS4W_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake/)
IF (DOWNLOAD_AND_BUILD_DEPS)
FIND_PACKAGE (PTHREADS4W CONFIG)
