Skip to content

Commit

Permalink
Fix linking error to pthreads with MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
Smail committed Aug 8, 2023
1 parent b4f0490 commit 2815eb6
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 2815eb6

Please sign in to comment.