diff --git a/plugins/GSdx_legacy/CMakeLists.txt b/plugins/GSdx_legacy/CMakeLists.txt index 1313991ee1..5d2ffe425e 100644 --- a/plugins/GSdx_legacy/CMakeLists.txt +++ b/plugins/GSdx_legacy/CMakeLists.txt @@ -218,11 +218,11 @@ else() endif() ################################### Replay Loader -if(BUILD_REPLAY_LOADERS) +if(BUILD_REPLAY_LOADERS AND NOT GSdx) set(Replay pcsx2_GSReplayLoader) set(GSdxReplayLoaderFinalSources ${GSdxFinalSources} linux_replay.cpp ) add_pcsx2_executable(${Replay} "${GSdxReplayLoaderFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}") -endif(BUILD_REPLAY_LOADERS) +endif()