diff options
author | MichalMoskal <unknown> | 2009-11-03 23:47:40 +0000 |
---|---|---|
committer | MichalMoskal <unknown> | 2009-11-03 23:47:40 +0000 |
commit | feed2fc3444819451501cd086d1b789c2435b97d (patch) | |
tree | 1a3fbd489f8fbe568cf856e0e7a987190d9a8127 | |
parent | 1787f47733a1f656b95e14ba881d7c3089b1b048 (diff) |
Look for Boogie.exe also in Program Files (x86)
-rw-r--r-- | Source/Provers/Simplify/ProverInterface.ssc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Provers/Simplify/ProverInterface.ssc b/Source/Provers/Simplify/ProverInterface.ssc index a3f38b9e..5e5d8558 100644 --- a/Source/Provers/Simplify/ProverInterface.ssc +++ b/Source/Provers/Simplify/ProverInterface.ssc @@ -206,6 +206,10 @@ namespace Microsoft.Boogie.Simplify throw new ProverException("Cannot find executable: " + firstTry);
}
_proverPath = Path.Combine(@"c:\Program Files\Microsoft Research\Z3-2." + minorVersion + "\\bin", proverExe);
+ if (File.Exists(_proverPath)) {
+ return; // all seems good
+ }
+ _proverPath = Path.Combine(@"c:\Program Files (x86)\Microsoft Research\Z3-2." + minorVersion + "\\bin", proverExe);
}
}
}
|