mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #14670 from SeanMcG/overlinking-fix
fix overlinking of OpenGL libraries
This commit is contained in:
commit
5e414b345a
1 changed files with 4 additions and 0 deletions
|
@ -1954,6 +1954,10 @@ if(WIN32)
|
|||
set(GlslangLibs ${GlslangLibs} spirv-cross-hlsl)
|
||||
endif()
|
||||
|
||||
if(OpenGL_OpenGL_FOUND AND NOT APPLE)
|
||||
set(OPENGL_LIBRARIES OpenGL::OpenGL)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${CoreLibName} Common native kirk cityhash sfmt19937 xbrz xxhash ${GlslangLibs}
|
||||
${CoreExtraLibs} ${OPENGL_LIBRARIES} ${X11_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue