mirror of
https://github.com/Z3Prover/z3
synced 2025-06-10 08:03:25 +00:00
startswith
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
845e852dba
commit
4368ec9953
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def _configure_z3():
|
||||||
# Allow command-line arguments to add and override Z3_ options
|
# Allow command-line arguments to add and override Z3_ options
|
||||||
for i in range(len(sys.argv) - 1):
|
for i in range(len(sys.argv) - 1):
|
||||||
key = sys.argv[i]
|
key = sys.argv[i]
|
||||||
if key.starts_with("Z3_"):
|
if key.startswith("Z3_"):
|
||||||
val = sys.argv[i + 1].upper()
|
val = sys.argv[i + 1].upper()
|
||||||
if val == "TRUE" or val == "FALSE":
|
if val == "TRUE" or val == "FALSE":
|
||||||
cmake_options[key] = val
|
cmake_options[key] = val
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue