mirror of https://github.com/PCSX2/pcsx2.git
gsdx: link replayer to png to avoid link failure
This commit is contained in:
parent
eff4ac3e4a
commit
b3d8981a22
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue