Move -B switch into a single argument

This will prevent CMake from mistaking the build directory for the
source directory

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-08-29 14:57:23 +01:00
parent b48822c816
commit 41c316d3b2

View File

@ -77,7 +77,7 @@ def main(library_build_dir: str):
subprocess.check_call([
'cmake', '.',
'-GUnix Makefiles',
'-B', library_build_dir
'-B' + library_build_dir
])
subprocess.check_call(['cmake', '--build', library_build_dir,
'-t', crypto_name])