Fix Issue 218: Check for protoc executable in vsprojects directory.
This commit is contained in:
parent
a4a9ef8c8b
commit
80aa23df6c
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ if os.path.exists("../src/protoc"):
|
|||
protoc = "../src/protoc"
|
||||
elif os.path.exists("../src/protoc.exe"):
|
||||
protoc = "../src/protoc.exe"
|
||||
elif os.path.exists("../vsprojects/Debug/protoc.exe"):
|
||||
protoc = "../vsprojects/Debug/protoc.exe"
|
||||
elif os.path.exists("../vsprojects/Release/protoc.exe"):
|
||||
protoc = "../vsprojects/Release/protoc.exe"
|
||||
else:
|
||||
protoc = find_executable("protoc")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue