Skip to content

Commit

Permalink
Fix dependencies in winmd_from_idl
Browse files Browse the repository at this point in the history
  • Loading branch information
res2k committed Dec 20, 2024
1 parent 44a5646 commit 4135f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/winmd_from_idl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function(winmd_from_idl)
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}
MAIN_DEPENDENCY "${MIDL_IDL}"
MAIN_DEPENDENCY "${idl_native}"
DEPENDS "${idl_native}"
)
endfunction()

0 comments on commit 4135f98

Please sign in to comment.