Skip to content

Commit

Permalink
Depend on reference .winmds in winmd_from_idl()
Browse files Browse the repository at this point in the history
  • Loading branch information
res2k committed Dec 24, 2024
1 parent ff3484a commit d11217c
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 @@ -28,6 +28,6 @@ function(winmd_from_idl)
add_custom_command(OUTPUT "${winmd_from_idl_OUT}"
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}"
DEPENDS "${idl_native}" "${ref_path_native}"
)
endfunction()

0 comments on commit d11217c

Please sign in to comment.