Merge branch 'portable' of https://github.com/Clownacy/Cave-Story-Engine-2 into portable

This commit is contained in:
Clownacy 2020-05-03 01:17:06 +01:00
commit b7418432df

View file

@ -498,7 +498,7 @@ endif()
if(BACKEND_PLATFORM MATCHES "SDL2" OR BACKEND_AUDIO MATCHES "SDL2") if(BACKEND_PLATFORM MATCHES "SDL2" OR BACKEND_AUDIO MATCHES "SDL2")
if(NOT FORCE_LOCAL_LIBS) if(NOT FORCE_LOCAL_LIBS)
find_package(SDL2) find_package(SDL2 2.0.6)
if (PKG_CONFIG_FOUND) if (PKG_CONFIG_FOUND)
pkg_check_modules(sdl2 QUIET IMPORTED_TARGET sdl2) pkg_check_modules(sdl2 QUIET IMPORTED_TARGET sdl2)