Use '--target' instead of shortened '-t'

This enables compatibility with older versions of CMake that do not have
the abbreviated switch.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-08-30 09:46:20 +01:00
parent 3ed1871920
commit 8f3ec8ec9d

View file

@ -81,7 +81,7 @@ def main(library_build_dir: str):
'-B' + library_build_dir
])
subprocess.check_call(['cmake', '--build', library_build_dir,
'-t', crypto_name])
'--target', crypto_name])
psa_arch_tests_dir = 'psa-arch-tests'
os.makedirs(psa_arch_tests_dir, exist_ok=True)