comgr: enable testing (#35605)
This commit is contained in:
parent
d91ec8500f
commit
2654d64a3c
1 changed files with 4 additions and 0 deletions
|
@ -159,6 +159,10 @@ class Comgr(CMakePackage):
|
|||
|
||||
root_cmakelists_dir = join_path("lib", "comgr")
|
||||
|
||||
def cmake_args(self):
|
||||
args = [self.define("BUILD_TESTING", self.run_tests)]
|
||||
return args
|
||||
|
||||
@classmethod
|
||||
def determine_version(cls, lib):
|
||||
match = re.search(r"lib\S*\.so\.\d+\.\d+\.(\d)(\d\d)(\d\d)", lib)
|
||||
|
|
Loading…
Reference in a new issue