Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added the support for the FluidLite
Since MixerX has an own MIDI sequencer, it can be used with the FluidLite library which doesn't has any sort of MIDI sequencer at all
- Loading branch information
Showing
6 changed files
with
660 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # - Try to find FluidLite | ||
| # Once done this will define | ||
| # FluidLite_FOUND - System has FluidLite | ||
| # FluidLite_INCLUDE_DIRS - The FluidLite include directories | ||
| # FluidLite_LIBRARIES - The libraries needed to use FluidLite | ||
|
|
||
| find_path(FluidLite_INCLUDE_DIR "fluidlite.h") | ||
| find_library(FluidLite_LIBRARY NAMES fluidlite) | ||
|
|
||
| if(FluidLite_INCLUDE_DIR AND FluidLite_LIBRARY) | ||
| if(APPLE) | ||
| find_library(FluidLite_DYNAMIC_LIBRARY NAMES "fluidlite" PATH_SUFFIXES ".dylib") | ||
| elseif(WIN32) | ||
| find_library(FluidLite_DYNAMIC_LIBRARY NAMES "fluidlite" PATH_SUFFIXES ".dll") | ||
| else() | ||
| find_library(FluidLite_DYNAMIC_LIBRARY NAMES "fluidlite" PATH_SUFFIXES ".so") | ||
| endif() | ||
| endif() | ||
|
|
||
| include(FindPackageHandleStandardArgs) | ||
| # handle the QUIETLY and REQUIRED arguments and set FluidLite_FOUND to TRUE | ||
| # if all listed variables are TRUE | ||
| find_package_handle_standard_args(FluidLite DEFAULT_MSG | ||
| FluidLite_LIBRARY FluidLite_INCLUDE_DIR) | ||
|
|
||
| mark_as_advanced(FluidLite_INCLUDE_DIR FluidLite_LIBRARY) | ||
|
|
||
| set(FluidLite_LIBRARIES ${FluidLite_LIBRARY}) | ||
| set(FluidLite_INCLUDE_DIRS ${FluidLite_INCLUDE_DIR}) | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.