https://git.reactos.org/?p=reactos.git;a=commitdiff;h=41723255597f5951d9ef4…
commit 41723255597f5951d9ef4a891c9e0a96c9aa2cf1
Author: Oleg Dubinskiy <oleg.dubinskij2013(a)yandex.ua>
AuthorDate: Sun May 5 20:48:37 2019 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun May 5 19:48:37 2019 +0200
[NOTEPAD] Duplicate notepad.exe in SystemRoot. CORE-16003 (#1555)
This is also done on Windows for backwards compatibility with Windows 3.x/9x.
But, it's also used (i.e. "required") by some installers, like Doom 3
Demo installer and Battlefield 1942 Single Player Demo installer, for successful opening
of their Readme file at the end of their installation!
---
base/applications/notepad/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/base/applications/notepad/CMakeLists.txt
b/base/applications/notepad/CMakeLists.txt
index 1674d83151..aa1aae6034 100644
--- a/base/applications/notepad/CMakeLists.txt
+++ b/base/applications/notepad/CMakeLists.txt
@@ -11,4 +11,5 @@ add_executable(notepad ${SOURCE} rsrc.rc)
set_module_type(notepad win32gui UNICODE)
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
add_pch(notepad notepad.h SOURCE)
+add_cd_file(TARGET notepad DESTINATION reactos FOR all)
add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)