Updates to handle use of cmake for Windows builds.
diff --git a/csharp/generate_protos.sh b/csharp/generate_protos.sh
index d239fcb..60bc281 100755
--- a/csharp/generate_protos.sh
+++ b/csharp/generate_protos.sh
@@ -23,10 +23,10 @@
# Windows and Unix.
if [ -z "$PROTOC" ]; then
# TODO(jonskeet): Use an array and a for loop instead?
- if [ -x vsprojects/Debug/protoc.exe ]; then
- PROTOC=vsprojects/Debug/protoc.exe
- elif [ -x vsprojects/Release/protoc.exe ]; then
- PROTOC=vsprojects/Release/protoc.exe
+ if [ -x cmake/build/Debug/protoc.exe ]; then
+ PROTOC=cmake/build/Debug/protoc.exe
+ elif [ -x cmake/build/Release/protoc.exe ]; then
+ PROTOC=cmake/build/Release/protoc.exe
elif [ -x src/protoc ]; then
PROTOC=src/protoc
else