2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(mspatcha.dll mspatcha.spec ADD_IMPORTLIB)
10 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
13 add_library(mspatcha SHARED ${SOURCE} version.rc)
14 set_module_type(mspatcha win32dll)
15 target_link_libraries(mspatcha wine)
16 add_importlibs(mspatcha msvcrt kernel32 ntdll)
17 add_cd_file(TARGET mspatcha DESTINATION reactos/system32 FOR all)