Add missing Boost dependencies to pika+generic_coroutines variant (#30026)

Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
This commit is contained in:
Mikael Simberg 2022-04-12 12:36:14 +02:00 committed by GitHub
parent ce09b42cdd
commit 17e2fb0ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,7 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage):
# https://github.com/spack/spack/pull/17654
# https://github.com/STEllAR-GROUP/hpx/issues/4829
depends_on('boost+context', when='+generic_coroutines')
depends_on('boost+atomic+chrono+thread', when='@:0.3.0+generic_coroutines')
_msg_generic_coroutines = 'This platform requires +generic_coroutines'
conflicts('~generic_coroutines', when='platform=darwin', msg=_msg_generic_coroutines)