gsdx: link replayer to png to avoid link failure

This commit is contained in:
Gregory Hainaut 2015-05-11 13:24:40 +02:00
parent eff4ac3e4a
commit b3d8981a22
1 changed files with 6 additions and 6 deletions

View File

@ -199,18 +199,18 @@ set(GSdxFinalLibs
${X11_LIBRARIES} ${X11_LIBRARIES}
) )
set(GSdxFinalLibs set(GSdxFinalLibs ${GSdxFinalLibs}
${GSdxFinalLibs}
${OPENGL_LIBRARIES} ${OPENGL_LIBRARIES}
)
set(GSdxFinalLibs
${GSdxFinalLibs}
${EGL_LIBRARIES} ${EGL_LIBRARIES}
${GTK2_LIBRARIES} ${GTK2_LIBRARIES}
${LIBC_LIBRARIES} ${LIBC_LIBRARIES}
) )
if(PNGPP_FOUND)
set(GSdxFinalLibs ${GSdxFinalLibs}
"-lpng")
endif()
# Generate Glsl header file. Protect with REBUILD_SHADER to avoid build-dependency on PERL # Generate Glsl header file. Protect with REBUILD_SHADER to avoid build-dependency on PERL
if (REBUILD_SHADER) if (REBUILD_SHADER)
add_custom_command(OUTPUT res/glsl_source.h COMMAND perl ${CMAKE_SOURCE_DIR}/linux_various/glsl2h.pl) add_custom_command(OUTPUT res/glsl_source.h COMMAND perl ${CMAKE_SOURCE_DIR}/linux_various/glsl2h.pl)