mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
fix overlinking of OpenGL libraries
This commit is contained in:
parent
8d7f57c472
commit
a7a64beb88
@ -1954,6 +1954,10 @@ if(WIN32)
|
|||||||
set(GlslangLibs ${GlslangLibs} spirv-cross-hlsl)
|
set(GlslangLibs ${GlslangLibs} spirv-cross-hlsl)
|
||||||
endif()
|
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}
|
target_link_libraries(${CoreLibName} Common native kirk cityhash sfmt19937 xbrz xxhash ${GlslangLibs}
|
||||||
${CoreExtraLibs} ${OPENGL_LIBRARIES} ${X11_LIBRARIES} ${CMAKE_DL_LIBS})
|
${CoreExtraLibs} ${OPENGL_LIBRARIES} ${X11_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user