Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie-Cui authored Oct 31, 2024
1 parent 9c3921d commit 34edd0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ endif()
# set fetch content base directory
set(FETCHCONTENT_BASE_DIR ${CMAKE_BINARY_DIR}/external_cmake)

# prefer -pthread instead of -lpthread or -lpthreads
set(THREADS_PREFER_PTHREAD_FLAG TRUE)

include(ExternalAbseil)
include(ExternalBlake3)
include(ExternalFmt)
Expand Down

0 comments on commit 34edd0c

Please sign in to comment.