File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,4 @@ target_include_directories(libremidi SYSTEM ${_public}
73
73
)
74
74
target_compile_definitions (libremidi ${_public} LIBREMIDI_WINMIDI )
75
75
set (LIBREMIDI_HAS_WINMIDI 1 )
76
- target_link_libraries (libremidi ${_public} RuntimeObject )
77
- if (MSVC )
78
- target_link_libraries (libremidi ${_public} windowsapp )
79
- endif ()
76
+ target_link_libraries (libremidi ${_public} RuntimeObject windowsapp )
Original file line number Diff line number Diff line change @@ -19,11 +19,10 @@ if(CPPWINRT_PATH)
19
19
20
20
target_include_directories (libremidi SYSTEM ${_public} "${CPPWINRT_PATH} " )
21
21
target_compile_definitions (libremidi ${_public} LIBREMIDI_WINUWP )
22
- target_link_libraries (libremidi INTERFACE RuntimeObject )
22
+ target_link_libraries (libremidi INTERFACE RuntimeObject windowsapp )
23
23
# We don't need /ZW option here (support for C++/CX)' as we use C++/WinRT
24
24
if (MSVC )
25
25
target_compile_options (libremidi ${_public} /EHsc )
26
- target_link_libraries (libremidi ${_public} windowsapp )
27
26
endif ()
28
27
else ()
29
28
message (STATUS "libremidi: Failed to find Windows SDK, UWP MIDI backend will not be available" )
You can’t perform that action at this time.
0 commit comments