improve compatibility with latest pthreadVC renaming on vcpkg

pull/2536/head
Stefano Sinigardi 6 years ago
parent 8804479dbd
commit 4fc5c6e7b0
  1. 4
      cmake/Modules/FindPThreads_windows.cmake

@ -31,8 +31,8 @@ endif()
# Allow libraries to be set manually # Allow libraries to be set manually
if(NOT PThreads_windows_LIBRARY) if(NOT PThreads_windows_LIBRARY)
find_library(PThreads_windows_LIBRARY_RELEASE NAMES pthreadsVC2) find_library(PThreads_windows_LIBRARY_RELEASE NAMES pthreadsVC2 pthreadVC2)
find_library(PThreads_windows_LIBRARY_DEBUG NAMES pthreadsVC2d) find_library(PThreads_windows_LIBRARY_DEBUG NAMES pthreadsVC2d pthreadVC2d)
select_library_configurations(PThreads_windows) select_library_configurations(PThreads_windows)
endif() endif()

Loading…
Cancel
Save