mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
94316addcf
midishare complaining libs not found
18 lines
728 B
CMake
18 lines
728 B
CMake
# Try to find the READLINE library
|
|
# MidiShare_FOUND - system has MidiShare
|
|
# MidiShare_INCLUDE_DIR - MidiShare include directory
|
|
# MidiShare_LIBRARIES - Libraries needed to use MidiShare
|
|
|
|
if ( MidiShare_INCLUDE_DIR AND MidiShare_LIBRARIES )
|
|
set ( MidiShare_FIND_QUIETLY TRUE )
|
|
endif ( MidiShare_INCLUDE_DIR AND MidiShare_LIBRARIES )
|
|
|
|
find_path ( MidiShare_INCLUDE_DIR NAMES MidiShare.h )
|
|
find_library ( MidiShare_LIBRARIES NAMES MidiShare )
|
|
|
|
include ( FindPackageHandleStandardArgs )
|
|
find_package_handle_standard_args( MidiShare DEFAULT_MSG
|
|
MidiShare_INCLUDE_DIR
|
|
MidiShare_LIBRARIES )
|
|
|
|
mark_as_advanced( MidiShare_INCLUDE_DIR MidiShare_LIBRARIES )
|