Skip to content

Commit

Permalink
use default configuration for threads
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Feb 4, 2024
1 parent 14d25e4 commit 0645e3c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ message(STATUS "CMAKE_C_COMPILER=${CMAKE_C_COMPILER}")
message(STATUS "CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")

#pthread
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package (Threads)
target_link_libraries (${PROJECT_NAME} Threads::Threads)

Expand Down

0 comments on commit 0645e3c

Please sign in to comment.