Skip to content

Commit 82dc4b0

Browse files
committed
Use MSBuild property TargetPath in postbuildcommands
'%{!cfg.buildtarget.abspath}' was not producing absolute paths
1 parent c81113a commit 82dc4b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Client/game_sa/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ project "Game SA"
4343
}
4444

4545
postbuildcommands {
46-
"%[%{!wks.location}/../utils/hookcheck.exe] %[%{!cfg.buildtarget.abspath}]"
46+
"%[%{!wks.location}/../utils/hookcheck.exe] %[$(TargetPath)]"
4747
}
4848

4949
filter "architecture:not x86"

Client/multiplayer_sa/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ project "Multiplayer SA"
3434
}
3535

3636
postbuildcommands {
37-
"%[%{!wks.location}/../utils/hookcheck.exe] %[%{!cfg.buildtarget.abspath}]"
37+
"%[%{!wks.location}/../utils/hookcheck.exe] %[$(TargetPath)]"
3838
}
3939

4040
filter "architecture:not x86"

0 commit comments

Comments
 (0)