set(RTMIDI_TARGETNAME_UNINSTALL "uninstall-rtmidi" CACHE STRING "Name of 'uninstall' build target" FORCE)
set(RTMIDI_BUILD_SHARED_LIBS OFF)
set(RTMIDI_BUILD_TESTING OFF)

add_subdirectory(src EXCLUDE_FROM_ALL)

set (RTMIDI_INCLUDE_DIRS src PARENT_SCOPE)
set (RTMIDI_LIBRARIES rtmidi PARENT_SCOPE)
set (RTMIDI_LDFLAGS rtmidi PARENT_SCOPE)
