Build tests for fmt conditionally (#34424)

This commit is contained in:
Mikael Simberg 2022-12-12 16:49:05 +01:00 committed by GitHub
parent 7efcb5ae73
commit b6d6a1ab2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,4 +106,7 @@ def cmake_args(self):
# and call to build "doc" target
args.append("-DFMT_DOC=OFF")
# Don't build tests
args.append(self.define("FMT_TEST", self.run_tests))
return args