mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Link against system threads library
This commit is contained in:
committed by
Dennis Klein
parent
ef3eb5f83e
commit
1e0159b775
@@ -38,6 +38,10 @@ option(BUILD_DOCS "Build FairMQ documentation." OFF)
|
||||
|
||||
|
||||
# Dependencies #################################################################
|
||||
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
|
||||
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
if(BUILD_FAIRMQ)
|
||||
find_package2(PUBLIC Boost VERSION 1.64 REQUIRED
|
||||
COMPONENTS program_options thread system filesystem regex date_time signals
|
||||
|
Reference in New Issue
Block a user