2 # Find the native fluidsynth includes and library
4 # FLUIDSYNTH_INCLUDE_DIR - where to find fluidsynth.h
5 # FLUIDSYNTH_LIBRARIES - List of libraries when using fluidsynth.
6 # FLUIDSYNTH_FOUND - True if fluidsynth found.
9 FIND_PATH(FLUIDSYNTH_INCLUDE_DIR fluidsynth.h)
11 FIND_LIBRARY(FLUIDSYNTH_LIBRARIES NAMES fluidsynth )
12 MARK_AS_ADVANCED( FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR )
14 # handle the QUIETLY and REQUIRED arguments and set FLUIDSYNTH_FOUND to TRUE if
15 # all listed variables are TRUE
16 INCLUDE(FindPackageHandleStandardArgs)
17 FIND_PACKAGE_HANDLE_STANDARD_ARGS(FluidSynth
18 REQUIRED_VARS FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)