Skip to content

Commit b8e1ade

Browse files
committed
CMake: Remove threading config variables
Using FindThreads and the Threads::Threads target directly was causing problems, and OpenMP seems to handle all this itself now.
1 parent 6638f41 commit b8e1ade

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,6 @@ foreach(ff_comp IN LISTS all_comps)
317317

318318
endforeach()
319319

320-
################### Threads ####################
321-
# Threading library -- uses IMPORTED target Threads::Threads (since CMake 3.1)
322-
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
323-
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
324-
325320
################### OPENMP #####################
326321
# Check for OpenMP (used for multi-core processing)
327322

0 commit comments

Comments
 (0)