[REACTOS] Fix build with VS 17.14.2 / CL 19.44.35207.1

This commit is contained in:
Timo Kreuzer 2025-05-28 21:56:38 +03:00
parent d663eb4466
commit e431470ff9
13 changed files with 43 additions and 14 deletions

View file

@ -28,6 +28,11 @@ add_library(msctf MODULE
version.rc
${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
if(MSVC)
# Disable C5286: implicit conversion from enum type 'x' to enum type 'y';
target_compile_options(msctf PRIVATE /wd5286)
endif()
set_module_type(msctf win32dll UNICODE)
target_link_libraries(msctf uuid wine cicero)
add_importlibs(msctf user32 advapi32 advapi32_vista msvcrt kernel32 ntdll)