https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f73c0e08e2459354f1bed192db4c5469ff5bdafa

commit f73c0e08e2459354f1bed192db4c5469ff5bdafa
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Fri Feb 11 14:33:02 2022 +0100
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sat Feb 12 16:21:30 2022 +0100

    [FDEBUG][CMIDRIVER] Add missing psdk dependency for user-mode code.
---
 boot/freeldr/fdebug/CMakeLists.txt                            | 1 +
 drivers/wdm/audio/drivers/CMIDriver/cmicontrol/CMakeLists.txt | 2 ++
 drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt        | 1 +
 3 files changed, 4 insertions(+)

diff --git a/boot/freeldr/fdebug/CMakeLists.txt 
b/boot/freeldr/fdebug/CMakeLists.txt
index ad446182f13..568a5e5cd74 100644
--- a/boot/freeldr/fdebug/CMakeLists.txt
+++ b/boot/freeldr/fdebug/CMakeLists.txt
@@ -1,5 +1,6 @@
 
 add_executable(fdebug fdebug.c rs232.c fdebug.rc)
+add_dependencies(fdebug psdk)
 set_module_type(fdebug win32gui UNICODE)
 add_importlibs(fdebug comdlg32 user32 gdi32 msvcrt kernel32)
 add_cd_file(TARGET fdebug DESTINATION loader NO_CAB NOT_IN_HYBRIDCD FOR bootcd 
livecd hybridcd)
diff --git a/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/CMakeLists.txt 
b/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/CMakeLists.txt
index 8574b420629..61cf0185783 100644
--- a/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/CMakeLists.txt
+++ b/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/CMakeLists.txt
@@ -7,6 +7,8 @@ if(NOT MSVC)
     set_source_files_properties(main.cpp PROPERTIES COMPILE_FLAGS 
"-Wno-write-strings")
 endif()
 
+add_dependencies(cmicontrol psdk)
+
 add_importlibs(cmicontrol user32 gdi32 ole32 advapi32 comctl32 shell32 dsound 
setupapi winmm msvcrt kernel32)
 set_module_type(cmicontrol win32gui)
 add_cd_file(TARGET cmicontrol DESTINATION reactos/system32/drivers FOR all)
diff --git a/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt 
b/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt
index 95c5a7fb7ae..a426ccb6015 100644
--- a/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt
+++ b/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt
@@ -4,6 +4,7 @@ add_library(cmicpl MODULE
     cmicpl.cpp
     cmicpl.rc)
 
+add_dependencies(cmicpl psdk)
 set_module_type(cmicpl cpl UNICODE)
 add_importlibs(cmicpl shell32 msvcrt kernel32)
 add_cd_file(TARGET cmicpl DESTINATION reactos/system32/drivers FOR all)

Reply via email to