gsdx-replayer:cmake: Reduce build time/filesize

Avoid building GSdx twice if the replayer is being built.
This commit is contained in:
Jonathan Li 2016-12-12 17:53:53 +00:00
parent 2c3fd160c3
commit b178423166
1 changed files with 1 additions and 2 deletions

View File

@ -228,8 +228,7 @@ endif()
if(BUILD_REPLAY_LOADERS) if(BUILD_REPLAY_LOADERS)
set(Replay pcsx2_GSReplayLoader) set(Replay pcsx2_GSReplayLoader)
set(GSdxReplayLoaderFinalSources set(GSdxReplayLoaderFinalSources
${GSdxFinalSources}
linux_replay.cpp linux_replay.cpp
) )
add_pcsx2_executable(${Replay} "${GSdxReplayLoaderFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}") add_pcsx2_executable(${Replay} "${GSdxReplayLoaderFinalSources}" "${LIBC_LIBRARIES}" "${GSdxFinalFlags}")
endif(BUILD_REPLAY_LOADERS) endif(BUILD_REPLAY_LOADERS)