mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-25 13:21:27 +00:00
1fa4bbf69c
to try compiling it myself on Windows to see if it's really that slow or if Ubuntu just ships an unoptimized version, because performance is pretty pathetic when compared to the other options. (I understand that it's a complete SoundFont2 renderer, so it is understandably slower than something like TiMidity++, but still. Does it really need to be around 10x slower? I played with the chorus, reverb, and interpolation settings, and none of them seemed to make much difference in performance.) SVN r2545 (trunk)
23 lines
851 B
CMake
23 lines
851 B
CMake
# - Find fluidsynth
|
|
# Find the native fluidsynth includes and library
|
|
#
|
|
# FLUIDSYNTH_INCLUDE_DIR - where to find fluidsynth.h
|
|
# FLUIDSYNTH_LIBRARIES - List of libraries when using fluidsynth.
|
|
# FLUIDSYNTH_FOUND - True if fluidsynth found.
|
|
|
|
|
|
IF (FLUIDSYNTH_INCLUDE_DIR AND FLUIDSYNTH_LIBRARIES)
|
|
# Already in cache, be silent
|
|
SET(FluidSynth_FIND_QUIETLY TRUE)
|
|
ENDIF (FLUIDSYNTH_INCLUDE_DIR AND FLUIDSYNTH_LIBRARIES)
|
|
|
|
FIND_PATH(FLUIDSYNTH_INCLUDE_DIR fluidsynth.h)
|
|
|
|
FIND_LIBRARY(FLUIDSYNTH_LIBRARIES NAMES fluidsynth )
|
|
MARK_AS_ADVANCED( FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR )
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set FLUIDSYNTH_FOUND to TRUE if
|
|
# all listed variables are TRUE
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FluidSynth DEFAULT_MSG FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
|
|
|