Skip to content
Permalink
Browse files

Update CMakeLists.txt

SDL2 is not required for the libretro target
  • Loading branch information
fr500 committed Nov 10, 2019
1 parent 168c6b6 commit 67c0c36efbb0d6f30c976106b5827c7f9210952c
Showing with 3 additions and 1 deletion.
  1. +3 −1 CMakeLists.txt
@@ -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)

0 comments on commit 67c0c36

Please sign in to comment.
You can’t perform that action at this time.