Skip to content

Instantly share code, notes, and snippets.

@ZenulAbidin
Created August 30, 2021 14:53
Show Gist options
  • Save ZenulAbidin/05e7bc7773b2cd4474fbca7b639f2a99 to your computer and use it in GitHub Desktop.
Save ZenulAbidin/05e7bc7773b2cd4474fbca7b639f2a99 to your computer and use it in GitHub Desktop.
Pthread problem
if (MINGW)
# There is no variable for this (probably due to the fact that the pthread
# library is implicit with a link in msys).
find_library(win32pthread
NAMES libwinpthread-1.dll)
# Proceed to copy file to build directory...
endif ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment