cmake: add playstation2 support

This commit is contained in:
Anonymous Maarten
2021-01-02 20:40:59 +01:00
parent 4d260a631b
commit 1275b70e9d
13 changed files with 151 additions and 34 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ if(LIBRW_PLATFORM_GL3)
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
find_package(GLEW REQUIRED)
if(LIBRW_GL3_GFXLIB STREQUAL "GLFW")
find_package(GLEW REQUIRED)
find_package(glfw3 REQUIRED)
elseif(LIBRW_GL3_GFXLIB STREQUAL "GLFW")
elseif(LIBRW_GL3_GFXLIB STREQUAL "SDL2")
find_package(SDL2 REQUIRED)
endif()
endif()