From d958941422f5d7b79d8001dd3a1b74bf3f49e2eb Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 22 Jun 2015 18:39:14 +0000 Subject: [PATCH] [CMD][EXPLORER] Properly track resource file dependencies. CORE-9806 svn path=/trunk/; revision=68241 --- reactos/base/shell/cmd/CMakeLists.txt | 1 + reactos/base/shell/explorer/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/reactos/base/shell/cmd/CMakeLists.txt b/reactos/base/shell/cmd/CMakeLists.txt index 1f83e91ca45..4ac7c693d87 100644 --- a/reactos/base/shell/cmd/CMakeLists.txt +++ b/reactos/base/shell/cmd/CMakeLists.txt @@ -67,6 +67,7 @@ list(APPEND SOURCE window.c precomp.h) +add_rc_deps(cmd.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico) add_executable(cmd ${SOURCE} cmd.rc) target_link_libraries(cmd wine) set_module_type(cmd win32cui UNICODE) diff --git a/reactos/base/shell/explorer/CMakeLists.txt b/reactos/base/shell/explorer/CMakeLists.txt index 138d90a8fdb..ce8f50c07c6 100644 --- a/reactos/base/shell/explorer/CMakeLists.txt +++ b/reactos/base/shell/explorer/CMakeLists.txt @@ -23,6 +23,8 @@ list(APPEND SOURCE util.cpp precomp.h) +file(GLOB explorer_rc_deps res/*.*) +add_rc_deps(explorer.rc ${explorer_rc_deps}) add_executable(explorer ${SOURCE} explorer.rc) target_link_libraries(explorer uuid atlnew wine) set_module_type(explorer win32gui UNICODE)