Link fail on case sensitive filesystem SDL2_ttf

This commit is contained in:
noabody 2023-07-31 19:02:53 -06:00
parent aca739d8eb
commit d0f5159e88

View File

@ -257,14 +257,14 @@ endif()
if(NOT LIBRETRO AND NOT IOS AND NOT MACOSX)
find_package(SDL2)
find_package(SDL2_TTF)
find_package(SDL2_ttf)
find_package(Fontconfig)
endif()
if(MACOSX AND NOT IOS)
if(USE_SYSTEM_LIBSDL2)
find_package(SDL2)
find_package(SDL2_TTF)
find_package(SDL2_ttf)
else()
find_library(SDL2Fwk SDL2 REQUIRED PATHS SDL/macOS)
message(STATUS "found SDL2Fwk=${SDL2Fwk}")