Sync with trunk r58151 to bring the latest changes from Amine and Timo.
[reactos.git] / dll / cpl / powercfg / CMakeLists.txt
1
2 spec2def(powercfg.cpl powercfg.spec)
3
4 add_library(powercfg SHARED
5 powercfg.c
6 powershemes.c
7 alarms.c
8 advanced.c
9 hibernate.c
10 powercfg.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
12
13 set_module_type(powercfg cpl UNICODE)
14
15 add_importlibs(powercfg
16 msvcrt
17 user32
18 powrprof
19 comctl32
20 shell32
21 advapi32
22 kernel32
23 ntdll)
24
25 add_pch(powercfg powercfg.h)
26 add_cd_file(TARGET powercfg DESTINATION reactos/system32 FOR all)