[D3DRM] Disable a clang warning

This commit is contained in:
Timo Kreuzer 2024-11-29 15:05:19 +02:00
parent 45fc95b667
commit a3019731cc

View file

@ -28,3 +28,7 @@ target_link_libraries(d3drm dxguid uuid wine)
add_importlibs(d3drm ddraw d3dxof msvcrt kernel32 ntdll)
add_pch(d3drm precomp.h SOURCE)
add_cd_file(TARGET d3drm DESTINATION reactos/system32 FOR all)
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
target_compile_options(d3drm PRIVATE -Wno-incompatible-function-pointer-types)
endif()