mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
cmake: fix enable-midishare option
This commit is contained in:
parent
98e976a9cc
commit
57c7e3d3a6
1 changed files with 5 additions and 5 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue