Skip to content

Commit

Permalink
fix HAVE_THREADS cmake var
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Nov 16, 2023
1 parent 9a580de commit 2d3b3ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/re-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ endif()
check_function_exists(thrd_create HAVE_THREADS_FUN)
check_include_file(threads.h HAVE_THREADS_H)
if(HAVE_THREADS_FUN AND HAVE_THREADS_H)
set(HAVE_THREADS true)
list(APPEND RE_DEFINITIONS HAVE_THREADS)
endif()

Expand Down

0 comments on commit 2d3b3ee

Please sign in to comment.