mirror of https://github.com/PCSX2/pcsx2.git
gsdx:cmake: Use PNG_LIBRARIES instead of PNG_LIBRARY
PNG_LIBRARIES adds both libpng and zlib to the command line. PNG_LIBRARY only adds libpng to the linker command line, and the cmake documentation also suggests not to use it.
This commit is contained in:
parent
fa249a3f78
commit
d36002a02a
|
@ -189,13 +189,10 @@ set(GSdxFinalSources
|
|||
|
||||
set(GSdxFinalLibs
|
||||
${X11_LIBRARIES}
|
||||
)
|
||||
|
||||
set(GSdxFinalLibs ${GSdxFinalLibs}
|
||||
${OPENGL_LIBRARIES}
|
||||
${GTK2_LIBRARIES}
|
||||
${LIBC_LIBRARIES}
|
||||
${PNG_LIBRARY}
|
||||
${PNG_LIBRARIES}
|
||||
)
|
||||
|
||||
if(EGL_API AND EGL_FOUND)
|
||||
|
|
Loading…
Reference in New Issue