2018-05-18 05:08:52 +08:00
|
|
|
diff --git a/src/windows/srcversion/srcversion.vcxproj b/src/windows/srcversion/srcversion.vcxproj
|
2018-05-09 19:30:38 +08:00
|
|
|
index 8761197..795d1a7 100644
|
2018-05-18 05:08:52 +08:00
|
|
|
--- a/src/windows/srcversion/srcversion.vcxproj
|
|
|
|
+++ b/src/windows/srcversion/srcversion.vcxproj
|
2018-05-09 19:30:38 +08:00
|
|
|
@@ -72,7 +72,7 @@
|
|
|
|
</Command>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<CustomBuildStep>
|
|
|
|
- <Command>powershell.exe -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
|
|
|
|
+ <Command>powershell.exe -ExecutionPolicy Bypass -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
|
|
|
|
<Outputs>__NON_EXISTENT_FILE__</Outputs>
|
|
|
|
<Message>generate srcversion.h</Message>
|
|
|
|
</CustomBuildStep>
|
|
|
|
@@ -99,7 +99,7 @@
|
|
|
|
</Command>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<CustomBuildStep>
|
|
|
|
- <Command>powershell.exe -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
|
|
|
|
+ <Command>powershell.exe -ExecutionPolicy Bypass -file "$(SolutionDir)..\utils\SRCVERSION.ps1" $(SRCVERSION)</Command>
|
|
|
|
<Outputs>__NON_EXISTENT_FILE__</Outputs>
|
|
|
|
<Message>generate srcversion.h</Message>
|
|
|
|
</CustomBuildStep>
|