cmake: fix enable-midishare option

This commit is contained in:
derselbst 2018-03-17 13:08:19 +01:00
parent 98e976a9cc
commit 57c7e3d3a6

View file

@ -61,12 +61,12 @@ option ( enable-trap-on-fpe "enable SIGFPE trap on Floating Point Exceptions" of
option ( enable-aufile "compile support for sound file output" on )
option ( BUILD_SHARED_LIBS "Build a shared object or DLL" on )
option ( enable-dbus "compile DBUS support (if it is available)" on )
option ( enable-ipv6 "enable ipv6 support " on )
option ( enable-ipv6 "enable ipv6 support" on )
option ( enable-jack "compile JACK support (if it is available)" on )
option ( enable-ladspa "enable LADSPA effect units" on )
option ( enable-libsndfile "compile libsndfile support (if it is available)" on )
option ( enable-midishare "compile MidiShare support (if it is available)" on )
option ( enable-network "enable network support (requires BSD sockets) " on )
option ( enable-network "enable network support (requires BSD sockets)" on )
option ( enable-oss "compile OSS support (if it is available)" on )
option ( enable-pkgconfig "use pkg-config to locate fluidsynth's (mostly optional) dependencies" on )
option ( enable-pulseaudio "compile PulseAudio support (if it is available)" on )
@ -431,12 +431,12 @@ if ( enable-oss )
endif ( enable-oss )
unset ( MIDISHARE_SUPPORT CACHE )
if ( enable_midishare )
if ( enable-midishare )
find_package ( MidiShare )
set ( MIDISHARE_SUPPORT ${MidiShare_FOUND} )
else ( enable_midishare )
else ( enable-midishare )
unset ( MidiShare_LIBS CACHE )
endif ( enable_midishare )
endif ( enable-midishare )
unset ( WITH_READLINE CACHE )
if ( enable-readline )