Skip to content

Commit

Permalink
Disable MIDL header generation
Browse files Browse the repository at this point in the history
  • Loading branch information
res2k committed Dec 21, 2024
1 parent 830a7a5 commit ff3484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/winmd_from_idl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function(winmd_from_idl)
endforeach()
find_platform_package_dir(PACKAGE windows.foundation.foundationcontract PATH_VAR metadata_native WINSDK_VERSION ${winmd_from_idl_WINSDK_VERSION})
add_custom_command(OUTPUT "${winmd_from_idl_OUT}"
COMMAND ${MIDL} ARGS "${idl_native}" /nologo /winrt /winmd "${winmd_native}" /nomidl /metadata_dir "${metadata_native}" ${midl_args}
COMMAND ${MIDL} ARGS "${idl_native}" /nologo /winrt /winmd "${winmd_native}" /nomidl /h "nul" /metadata_dir "${metadata_native}" ${midl_args}
MAIN_DEPENDENCY "${idl_native}"
DEPENDS "${idl_native}"
)
Expand Down

0 comments on commit ff3484a

Please sign in to comment.