mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-21 18:49:52 +00:00
Fix compatibility with old CMake
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user