[KDCOM][KDGDB] Fix kdcom.dll/kdgdb.dll file naming on MSVC-built ISOs

CORE-20528

Addendum to commit 912c8ad987 (PR #5187)

Fix a bug where "KDCOM/KDGDB_NAME_ON_CD" CMake variables weren't used
as variables, but directly as names.
This commit is contained in:
Hermès Bélusca-Maïto
2026-03-23 13:27:25 +01:00
parent 0566a0f699
commit 5923d37e1f
2 changed files with 2 additions and 2 deletions

View File

@@ -23,4 +23,4 @@ if(GDB) ## See PR #5187
else()
set(KDCOM_NAME_ON_CD "$<TARGET_FILE_NAME:kdcom>")
endif()
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB NAME_ON_CD KDCOM_NAME_ON_CD FOR all)
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB NAME_ON_CD ${KDCOM_NAME_ON_CD} FOR all)

View File

@@ -32,4 +32,4 @@ if(GDB) ## See PR #5187
else()
set(KDGDB_NAME_ON_CD "$<TARGET_FILE_NAME:kdgdb>")
endif()
add_cd_file(TARGET kdgdb DESTINATION reactos/system32 NO_CAB NAME_ON_CD KDGDB_NAME_ON_CD FOR all)
add_cd_file(TARGET kdgdb DESTINATION reactos/system32 NO_CAB NAME_ON_CD ${KDGDB_NAME_ON_CD} FOR all)