Fix compatibility with old CMake

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2026-01-19 12:36:38 +01:00
parent ab1a43e781
commit 390abf3b39
+2 -2
View File
@@ -866,7 +866,7 @@ class TFPSACryptoCodeParser(CodeParser):
check=True
)
subprocess.run(
["cmake", "--build", ".", "-t", "tfpsacrypto"],
["cmake", "--build", ".", "--target", "tfpsacrypto"],
env=my_environment,
universal_newlines=True,
stdout=subprocess.PIPE,
@@ -1035,7 +1035,7 @@ class MBEDTLSCodeParser(CodeParser):
check=True
)
subprocess.run(
["cmake", "--build", ".", "-t", "lib"],
["cmake", "--build", ".", "--target", "lib"],
env=my_environment,
universal_newlines=True,
stdout=subprocess.PIPE,