https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6b48d54c393a7a3873023…
commit 6b48d54c393a7a38730235a609f5cfc0a8987893
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Fri May 1 01:23:51 2020 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Fri May 1 01:23:51 2020 +0300
[CMAKE] Fix driver inf files generation for livecd
CORE-16975
---
sdk/cmake/CMakeMacros.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/cmake/CMakeMacros.cmake b/sdk/cmake/CMakeMacros.cmake
index d29b95afd82..9107de4645d 100644
--- a/sdk/cmake/CMakeMacros.cmake
+++ b/sdk/cmake/CMakeMacros.cmake
@@ -916,11 +916,11 @@ function(add_driver_inf _module)
add_custom_command(OUTPUT "${_converted_item}"
COMMAND native-utf16le "${_source_item}"
"${_converted_item}"
DEPENDS native-utf16le "${_source_item}")
- add_cd_file(FILE ${_converted_item} DESTINATION reactos/inf FOR all)
list(APPEND _converted_inf_files ${_converted_item})
endforeach()
add_custom_target(${_module}_inf_files DEPENDS ${_converted_inf_files})
+ add_cd_file(FILE ${_converted_inf_files} TARGET ${_module}_inf_files DESTINATION
reactos/inf FOR all)
endfunction()
if(KDBG)