diff --git a/reactos/dll/shellext/deskadp/CMakeLists.txt b/reactos/dll/shellext/deskadp/CMakeLists.txt index 9d8cda19d02..8333fa03d73 100644 --- a/reactos/dll/shellext/deskadp/CMakeLists.txt +++ b/reactos/dll/shellext/deskadp/CMakeLists.txt @@ -6,6 +6,8 @@ list(APPEND SOURCE shxiface.c precomp.h) +add_rc_deps(deskadp.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/adapter.ico) + add_library(deskadp SHARED ${SOURCE} deskadp.rc diff --git a/reactos/dll/shellext/deskmon/CMakeLists.txt b/reactos/dll/shellext/deskmon/CMakeLists.txt index 8691316c777..93264f1e6af 100644 --- a/reactos/dll/shellext/deskmon/CMakeLists.txt +++ b/reactos/dll/shellext/deskmon/CMakeLists.txt @@ -6,6 +6,8 @@ list(APPEND SOURCE shxiface.c precomp.h) +add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico) + add_library(deskmon SHARED ${SOURCE} deskmon.rc diff --git a/reactos/dll/shellext/netshell/CMakeLists.txt b/reactos/dll/shellext/netshell/CMakeLists.txt index c43268b051d..a1e9bd9a0ec 100644 --- a/reactos/dll/shellext/netshell/CMakeLists.txt +++ b/reactos/dll/shellext/netshell/CMakeLists.txt @@ -24,6 +24,9 @@ list(APPEND SOURCE lanstatusui.cpp precomp.h) +file(GLOB netshell_rc_deps res/*.*) +add_rc_deps(netshell.rc ${netshell_rc_deps}) + add_library(netshell SHARED ${SOURCE} netshell.rc diff --git a/reactos/dll/shellext/ntobjshex/CMakeLists.txt b/reactos/dll/shellext/ntobjshex/CMakeLists.txt index d96f1bd78e2..ac46d5141c6 100644 --- a/reactos/dll/shellext/ntobjshex/CMakeLists.txt +++ b/reactos/dll/shellext/ntobjshex/CMakeLists.txt @@ -14,6 +14,9 @@ include_directories( spec2def(ntobjshex.dll ntobjshex.spec) +file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*) +add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps}) + add_library(ntobjshex SHARED ntobjenum.cpp ntobjfolder.cpp @@ -22,9 +25,6 @@ add_library(ntobjshex SHARED regfolder.cpp ${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def) -list(APPEND atl_rc_deps - ${CMAKE_CURRENT_SOURCE_DIR}/resources/rgs/ntobjectfolder.rgs) - set_module_type(ntobjshex win32dll UNICODE) target_link_libraries(ntobjshex uuid wine atlnew) diff --git a/reactos/dll/shellext/stobject/CMakeLists.txt b/reactos/dll/shellext/stobject/CMakeLists.txt index d718d3bface..d63a297af5d 100644 --- a/reactos/dll/shellext/stobject/CMakeLists.txt +++ b/reactos/dll/shellext/stobject/CMakeLists.txt @@ -14,6 +14,9 @@ include_directories( spec2def(stobject.dll stobject.spec) +file(GLOB_RECURSE stobject_rc_deps resources/*.*) +add_rc_deps(stobject.rc ${stobject_rc_deps}) + add_library(stobject SHARED csystray.cpp stobject.cpp