summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/kealib/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kealib/package.py b/var/spack/repos/builtin/packages/kealib/package.py
index e2ad87916e..1d6b13c216 100644
--- a/var/spack/repos/builtin/packages/kealib/package.py
+++ b/var/spack/repos/builtin/packages/kealib/package.py
@@ -42,6 +42,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'):
return '.'