comgr: enable testing (#35605)

This commit is contained in:
afzpatel 2023-06-09 12:04:19 -04:00 committed by GitHub
parent d91ec8500f
commit 2654d64a3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)