File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ target_include_directories(libremidi SYSTEM ${_public}
7373)
7474target_compile_definitions (libremidi ${_public} LIBREMIDI_WINMIDI )
7575set (LIBREMIDI_HAS_WINMIDI 1)
76- target_link_libraries (libremidi ${_public} RuntimeObject )
76+ target_link_libraries (libremidi ${_public} RuntimeObject Combase )
7777if (MSVC )
7878 target_link_libraries (libremidi ${_public} windowsapp )
7979endif ()
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if(CPPWINRT_PATH)
1919
2020 target_include_directories (libremidi SYSTEM ${_public} "${CPPWINRT_PATH} " )
2121 target_compile_definitions (libremidi ${_public} LIBREMIDI_WINUWP )
22- target_link_libraries (libremidi INTERFACE RuntimeObject )
22+ target_link_libraries (libremidi INTERFACE RuntimeObject Combase )
2323 # We don't need /ZW option here (support for C++/CX)' as we use C++/WinRT
2424 if (MSVC )
2525 target_compile_options (libremidi ${_public} /EHsc )
You can’t perform that action at this time.
0 commit comments