mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
fix overlinking of OpenGL libraries
This commit is contained in:
parent
8d7f57c472
commit
a7a64beb88
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