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