6 remove_definitions(-D_WIN32_WINNT=0x502)
7 add_definitions(-D_WIN32_WINNT=0x600)
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
13 spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
40 ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
41 ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
43 add_library(crypt32 SHARED
48 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
49 #allow_warnings(crypt32)
50 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
53 set_module_type(crypt32 win32dll)
54 target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
55 add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
56 add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)