Commit 8a828788 authored by Thomas White's avatar Thomas White
Browse files

Add pthreads

parent cbcbde5d
......@@ -4,6 +4,8 @@ project('libpinkIndexer', ['cpp'],
meson_version: '>=0.49.0',
default_options: ['buildtype=debugoptimized'])
pthreaddep = dependency('threads', required: true)
eigendep = dependency('eigen3',
required: true,
fallback: ['eigen', 'eigen_dep'])
......@@ -30,7 +32,7 @@ pinkindexer = library('pinkIndexer',
'src/adaptions/crystfel/SimpleDiffractionPatternPrediction.cpp',
'src/adaptions/crystfel/SimpleProjection.cpp'],
include_directories: [incdir],
dependencies: [eigendep],
dependencies: [eigendep, pthreaddep],
install: true,
override_options : ['cpp_std=c++11'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment