Skip to content

Commit

Permalink
Fixup for finding pthread.h in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Jan 13, 2025
1 parent 8bf46d2 commit 8f4e283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ if(MSVC)
if(NOT HAVE_PTHREAD_H)
message(FATAL_ERROR "Could not find pthreads.")
endif()
unset(PThreads_LIBRARIES)
unset(PThreads_INCLUDE_DIRS)
endif()
endif()
set(FLINT_USES_PTHREAD ON CACHE BOOL "Use POSIX Threads.")
Expand Down

0 comments on commit 8f4e283

Please sign in to comment.