mirror of
https://github.com/aap/librw.git
synced 2025-12-19 00:49:50 +00:00
cmake: remove double check for GL3
This commit is contained in:
@@ -138,9 +138,6 @@ set_target_properties(librw
|
||||
PREFIX ""
|
||||
)
|
||||
|
||||
if(LIBRW_PLATFORM_GL3)
|
||||
|
||||
|
||||
if(LIBRW_PLATFORM_GL3)
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
find_package(OpenGL REQUIRED)
|
||||
@@ -165,7 +162,6 @@ if(LIBRW_PLATFORM_GL3)
|
||||
SDL2::SDL2
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
elseif(LIBRW_PLATFORM_D3D9)
|
||||
target_link_libraries(librw
|
||||
PUBLIC
|
||||
|
||||
Reference in New Issue
Block a user