kealib: add command property (#31295)
* kealib: add command property * Correct exe name on Windows
This commit is contained in:
parent
6a5bec8d43
commit
63b33403db
@ -41,6 +41,13 @@ class Kealib(CMakePackage):
|
||||
|
||||
patch('cmake.patch', when='@1.4.7')
|
||||
|
||||
@property
|
||||
def command(self):
|
||||
exe = 'kea-config'
|
||||
if self.spec.satisfies('platform=windows'):
|
||||
exe += '.bat'
|
||||
return Executable(self.prefix.bin.join(exe))
|
||||
|
||||
@property
|
||||
def root_cmakelists_dir(self):
|
||||
if self.version >= Version('1.4.9'):
|
||||
|
Loading…
Reference in New Issue
Block a user