qtkeychain package: enable building with qt4 (#12578)
This commit is contained in:
parent
972759896e
commit
f03a9e8ac6
1 changed files with 6 additions and 0 deletions
|
@ -16,3 +16,9 @@ class Qtkeychain(CMakePackage):
|
|||
|
||||
depends_on('qt+dbus')
|
||||
depends_on('libsecret')
|
||||
|
||||
def cmake_args(self):
|
||||
args = []
|
||||
if self.spec['qt'].version.up_to(1) == Version(4):
|
||||
args.append('-DBUILD_WITH_QT4=ON')
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue