Merge branch 'master' into jgrpp

# Conflicts:
#	CMakeLists.txt
#	src/blitter/32bpp_optimized.cpp
#	src/lang/serbian.txt
This commit is contained in:
Jonathan G Rennison
2021-03-04 15:31:10 +00:00
3 changed files with 31 additions and 22 deletions

View File

@@ -117,30 +117,33 @@ find_package(LZO)
find_package(ZSTD 1.4)
find_package(PNG)
if(NOT WIN32)
find_package(Allegro)
if(NOT APPLE)
find_package(Freetype)
find_package(SDL2)
if(NOT SDL2_FOUND)
find_package(SDL)
if(NOT OPTION_DEDICATED)
if(NOT WIN32)
find_package(Allegro)
if(NOT APPLE)
find_package(Freetype)
find_package(SDL2)
if(NOT SDL2_FOUND)
find_package(SDL)
endif()
find_package(Fluidsynth)
find_package(Fontconfig)
find_package(ICU OPTIONAL_COMPONENTS i18n lx)
endif()
find_package(Fluidsynth)
find_package(Fontconfig)
find_package(ICU OPTIONAL_COMPONENTS i18n lx)
else()
find_package(Iconv)
find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox)
find_library(AUDIOUNIT_LIBRARY AudioUnit)
find_library(COCOA_LIBRARY Cocoa)
find_library(QUARTZCORE_LIBRARY QuartzCore)
find_package(MacUcontext)
endif()
endif()
if(APPLE)
find_package(Iconv)
if(NOT EMSCRIPTEN)
find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox)
find_library(AUDIOUNIT_LIBRARY AudioUnit)
find_library(COCOA_LIBRARY Cocoa)
find_library(QUARTZCORE_LIBRARY QuartzCore)
find_package(MacUcontext)
endif()
if(NOT EMSCRIPTEN AND NOT OPTION_DEDICATED)
find_package(OpenGL COMPONENTS OpenGL)
endif()
@@ -160,7 +163,7 @@ if (UNIX)
find_package(BFD)
endif (UNIX)
if(UNIX AND NOT APPLE)
if(UNIX AND NOT APPLE AND NOT OPTION_DEDICATED)
find_package(Fcitx QUIET)
if (Fcitx_FOUND)
message(STATUS "Found: Fcitx: ${Fcitx_VERSION}")