qt: make libxcb a conditional dependency
OS X doesn't have X (usually).
This commit is contained in:
parent
5ba1144515
commit
4c566617f7
@ -24,6 +24,7 @@
|
||||
##############################################################################
|
||||
from spack import *
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
class Qt(Package):
|
||||
@ -78,7 +79,7 @@ class Qt(Package):
|
||||
|
||||
# OpenGL hardware acceleration
|
||||
depends_on("mesa", when='@4:+mesa')
|
||||
depends_on("libxcb")
|
||||
depends_on("libxcb", when=sys.platform != 'darwin')
|
||||
|
||||
def url_for_version(self, version):
|
||||
# URL keeps getting more complicated with every release
|
||||
|
Loading…
Reference in New Issue
Block a user