cmake: remove double check for GL3

This commit is contained in:
Anonymous Maarten 2021-01-02 20:35:23 +01:00
parent a5d31ade07
commit 7f0b98f960
1 changed files with 0 additions and 4 deletions

View File

@ -138,9 +138,6 @@ set_target_properties(librw
PREFIX "" PREFIX ""
) )
if(LIBRW_PLATFORM_GL3)
if(LIBRW_PLATFORM_GL3) if(LIBRW_PLATFORM_GL3)
set(OpenGL_GL_PREFERENCE GLVND) set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
@ -165,7 +162,6 @@ if(LIBRW_PLATFORM_GL3)
SDL2::SDL2 SDL2::SDL2
) )
endif() endif()
endif()
elseif(LIBRW_PLATFORM_D3D9) elseif(LIBRW_PLATFORM_D3D9)
target_link_libraries(librw target_link_libraries(librw
PUBLIC PUBLIC