[CMAKE]
[reactos.git] / dll / win32 / cryptdlg / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(cryptdlg ${CMAKE_CURRENT_SOURCE_DIR}/cryptdlg.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
6
7 add_library(cryptdlg SHARED main.c cryptdlg.rc)
8
9 set_module_type(cryptdlg win32dll)
10
11 target_link_libraries(cryptdlg
12 ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def
13 wine)
14
15 add_importlibs(cryptdlg
16 advapi32
17 user32
18 crypt32
19 cryptui
20 wintrust
21 kernel32
22 ntdll)
23
24 add_dependencies(cryptdlg cryptdlg_def)