From 33fcdf37e558e9e9a7800b01a083e65f4127d7fd Mon Sep 17 00:00:00 2001 From: Matt Wrock Date: Thu, 18 Aug 2016 08:44:37 -0700 Subject: [PATCH] update googletet submodule in bootstrap on linux and osx (#1805) --- build.psm1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.psm1 b/build.psm1 index c9b4f8417..e0f859630 100644 --- a/build.psm1 +++ b/build.psm1 @@ -663,6 +663,13 @@ function Start-PSBootstrap { Push-Location $PSScriptRoot/tools try { + # Update googletest submodule for linux native cmake + if ($IsLinux -or $IsOSX) { + $Submodule = "$PSScriptRoot/src/libpsl-native/test/googletest" + Remove-Item -Path $Submodule -Recurse -Force -ErrorAction SilentlyContinue + git submodule update --init -- $submodule + } + # Install ours and .NET's dependencies $Deps = @() if ($IsUbuntu) {