1a8cdf3a8fa9db1d07d031477a8264181c9992d1
[reactos.git] / dll / win32 / powrprof / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(powrprof ${CMAKE_CURRENT_SOURCE_DIR}/powrprof.spec ${CMAKE_CURRENT_BINARY_DIR}/powrprof.def)
5
6 add_library(powrprof SHARED powrprof.c powrprof.rc)
7
8 set_module_type(powrprof win32dll)
9
10 target_link_libraries(powrprof
11 ${CMAKE_CURRENT_BINARY_DIR}/powrprof.def
12 wine)
13
14 add_importlibs(powrprof advapi32 user32 comctl32 kernel32 ntdll)
15 add_dependencies(powrprof powrprof_def)