add dependency for icd variant, or else build fails (#17079)
Co-authored-by: Sinan81 <Sinan81@github>
This commit is contained in:
parent
58332d028e
commit
59e4caad1d
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ class Pocl(CMakePackage):
|
|||
variant("icd", default=False,
|
||||
description="Support a system-wide ICD loader")
|
||||
|
||||
depends_on('ocl-icd', when='+icd')
|
||||
|
||||
def url_for_version(self, version):
|
||||
if version >= Version('1.0'):
|
||||
url = "https://github.com/pocl/pocl/archive/v{0}.tar.gz"
|
||||
|
|
Loading…
Reference in a new issue