File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,17 @@ function Assert-Consistent-Naming($expected, $path) {
93
93
$dll = get-item $path
94
94
95
95
Ensure- Property $expected $dll.Name " Name" $dll.Fullname
96
+ Ensure- Property $expected $dll.VersionInfo.InternalName " VersionInfo.InternalName" $dll.Fullname
97
+ Ensure- Property $expected $dll.VersionInfo.OriginalFilename " VersionInfo.OriginalFilename" $dll.Fullname
96
98
}
97
99
98
100
try {
99
101
Push-Location $libgit2Directory
100
102
103
+ # Patch CMakeLists.txt to fix LIBGIT2_FILENAME not being used when compiling the .rc file
104
+ $libgit2CMakeLists = Join-Path $libgit2Directory " src\CMakeLists.txt"
105
+ (Get-Content $libgit2CMakeLists ).Replace(' target_compile_definitions(git2internal PRIVATE LIBGIT2_FILENAME' , ' target_compile_definitions(git2 PRIVATE LIBGIT2_FILENAME' ) | Set-Content $libgit2CMakeLists
106
+
101
107
$cmake = Find-CMake
102
108
$ctest = Join-Path (Split-Path - Parent $cmake ) " ctest.exe"
103
109
You can’t perform that action at this time.
0 commit comments