mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-06 04:52:16 +00:00
2cbe211e7c
The EDuke32 and RedNukem frontends are working, Blood isn't yet. Notes: many of the CMake variables and its output still refer to zdoom. Before changing that I wanted to make sure to be able to commit something that works. support code for Windows XP has been entirely removed. On Windows this will only target Vista and up. the crc32.h header had to be renamed to deconflict from zlib. several Windows API calls were changed to call the A-versions directly. Weirdly enough there were places that defined their parameters as T types but in a non-working way. removed some remaining editor files and support for the native software rendering only Windows backend. in a few simple cases, replaced 'char' with 'uint8_t'. The code as-is depends on chars being unsigned which is non-portable. This needs to be carefully reviewed.
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)
|
|
|