1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 02:32:29 +01:00

Fix steam build default from true/false to on/off

This commit is contained in:
Elias Steurer 2021-10-07 17:22:10 +02:00
parent f64c2aeab5
commit d4289c8e08

View File

@ -45,6 +45,11 @@ if not args.build_type:
print("Build type argument is missing (release,debug). Example: python build.py -t release -steam=True")
sys.exit(1)
steam_build = "OFF"
if args.steam_build:
if args.steam_build:
steam_build = "ON"
qt_version = "5.15.2"
print("Starting build with type %s. Qt Version: %s" %
(args.build_type, qt_version))
@ -110,7 +115,7 @@ cmake_configure_command = """cmake ../
prefix_path=cmake_prefix_path,
triplet=cmake_target_triplet,
toolchain=cmake_toolchain_file,
steam=args.steam_build).replace("\n", "")
steam=steam_build).replace("\n", "")
execute(cmake_configure_command)
execute("cmake --build . --target all")