Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas White
pinkindexer
Commits
8a828788
Commit
8a828788
authored
Oct 07, 2021
by
Thomas White
Browse files
Add pthreads
parent
cbcbde5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
meson.build
View file @
8a828788
...
...
@@ -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'])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment