File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 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) {
9393 $dll = get-item $path
9494
9595 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
9698}
9799
98100try {
99101 Push-Location $libgit2Directory
100102
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+
101107 $cmake = Find-CMake
102108 $ctest = Join-Path (Split-Path - Parent $cmake ) " ctest.exe"
103109
You can’t perform that action at this time.
0 commit comments