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:
Jonathan Li 2016-08-16 20:21:15 +01:00
parent fa249a3f78
commit d36002a02a
1 changed files with 1 additions and 4 deletions

View File

@ -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)