summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/LibraryConfigurations.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/LibraryConfigurations.cmake b/cmake/LibraryConfigurations.cmake
index d4bf45a0..18b4f196 100644
--- a/cmake/LibraryConfigurations.cmake
+++ b/cmake/LibraryConfigurations.cmake
@@ -91,6 +91,11 @@ elseif ("${PLATFORM}" MATCHES "DRM")
endif ()
set(LIBS_PRIVATE ${GLESV2} ${EGL} ${DRM} ${GBM} atomic pthread m dl)
+elseif ("${PLATFORM}" MATCHES "SDL")
+ find_package(SDL2 REQUIRED)
+ set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL")
+ set(LIBS_PRIVATE SDL2::SDL2)
+
endif ()
if (NOT ${OPENGL_VERSION} MATCHES "OFF")