[APPLICATIONS] Properly track resource file dependencies. CORE-9806
[reactos.git] / reactos / base / applications / mscutils / eventvwr / CMakeLists.txt
1
2 file(GLOB eventvwr_rc_deps res/*.*)
3 add_rc_deps(eventvwr.rc ${eventvwr_rc_deps})
4 add_executable(eventvwr eventvwr.c eventvwr.rc)
5 set_module_type(eventvwr win32gui UNICODE)
6 add_importlibs(eventvwr user32 comctl32 comdlg32 advapi32 msvcrt kernel32)
7
8 if(MSVC)
9 add_importlibs(eventvwr ntdll)
10 endif()
11
12 add_cd_file(TARGET eventvwr DESTINATION reactos/system32 FOR all)