summaryrefslogtreecommitdiff
path: root/kokoro/cmake.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/cmake.sh')
-rwxr-xr-xkokoro/cmake.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/kokoro/cmake.sh b/kokoro/cmake.sh
index 999fbfe..7e355f8 100755
--- a/kokoro/cmake.sh
+++ b/kokoro/cmake.sh
@@ -5,6 +5,8 @@ cd git/re2
case "${KOKORO_JOB_NAME}" in
*/windows-*)
+ export PATH+=':/cygdrive/c/Program Files/CMake/bin'
+ # Pin to Visual Studio 2015, which is the minimum that we support.
CMAKE_G_A_FLAGS=('-G' 'Visual Studio 14 2015' '-A' 'x64')
;;
*)