Skip to content

Commit

Permalink
fix HAVE_THREADS cache entry
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Nov 16, 2023
1 parent 2d3b3ee commit e07088f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/re-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ 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)
set(HAVE_THREADS CACHE BOOL true)
endif()
if(HAVE_THREADS)
list(APPEND RE_DEFINITIONS HAVE_THREADS)
endif()

Expand Down

0 comments on commit e07088f

Please sign in to comment.