Skip to content
Snippets Groups Projects
Commit 8e87228c authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Explicitly ask for pthreads

parent 64e04ab0
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ libm = cc.find_library('m')
glib_dep = dependency('glib-2.0', version: '>= 2.16', required: false)
openmp_dep = dependency('openmp', required: false)
thread_dep = dependency('threads', required: false)
pthreads_dep = dependency('pthreads', required: false)
conf_data = configuration_data()
......
......@@ -34,6 +34,6 @@ if openmp_dep.found()
subdir('openmp')
endif
if thread_dep.found()
subdir('pthread')
if pthreads_dep.found()
subdir('pthreads')
endif
......@@ -3,4 +3,4 @@
# SPDX-License-Identifier: CC0-1.0
executable('thread-incr', 'thread-incr.c',
dependencies: [thread_dep, utils_dep])
dependencies: [pthreads_dep, utils_dep])
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment