Skip to content

Commit

Permalink
Merge pull request #408 from Smail/master
Browse files Browse the repository at this point in the history
Fix linking error to pthreads with MinGW
  • Loading branch information
garyscavone committed Aug 8, 2023
2 parents b4f0490 + 2815eb6 commit 13a5839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -31,6 +31,7 @@ endif()
# Necessary for Windows
if(MINGW)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(NEED_PTHREAD ON)
endif()

# Standard CMake options
Expand Down

0 comments on commit 13a5839

Please sign in to comment.