Merge pull request #12478 from fr500/patch-2

Update CMakeLists.txt
This commit is contained in:
Henrik Rydgård 2019-11-10 20:30:15 +01:00 committed by GitHub
commit a8d2e513b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,9 @@ if(USING_EGL)
set(OPENGL_LIBRARIES ${OPENGL_LIBRARIES} ${EGL_LIBRARIES})
endif()
find_package(SDL2)
if(NOT LIBRETRO)
find_package(SDL2)
endif()
include(FindThreads)
if(APPLE)