Skip to content
Snippets Groups Projects
Commit aff44f56 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix opengl lib linking on windows

parent f0cd5230
No related branches found
No related tags found
No related merge requests found
......@@ -4,3 +4,10 @@ include(Variables)
include(Prebuilt)
include(FindOpenGL)
add_library( ll::opengl INTERFACE IMPORTED )
if(TARGET OpenGL::OpenGL)
target_link_libraries( ll::opengl INTERFACE OpenGL::OpenGL)
elseif(TARGET OpenGL::GL)
target_link_libraries( ll::opengl INTERFACE OpenGL::GL)
endif()
\ No newline at end of file
......@@ -96,6 +96,6 @@ target_link_libraries(llrender
llxml
llwindow
ll::freetype
OpenGL::OpenGL
ll::opengl
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment