From 14a76a8499c74635d8c269b029327db55cda11e9 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 31 Dec 2016 13:37:43 +0100 Subject: [PATCH] cmake: don't use SSE2 suffix on libgsdx.so file In debug build, SIMD is disabled, so it is dangerous (use wrong binary) to debug --- plugins/GSdx/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/GSdx/CMakeLists.txt b/plugins/GSdx/CMakeLists.txt index cf6d2a68d1..287fbc3115 100644 --- a/plugins/GSdx/CMakeLists.txt +++ b/plugins/GSdx/CMakeLists.txt @@ -216,7 +216,8 @@ if(BUILTIN_GS) add_pcsx2_lib(${Output} "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}") else() if (DISABLE_ADVANCE_SIMD) - add_pcsx2_plugin("${Output}-SSE2" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}") + # Don't append -SSE2 on the first build to keep same name as SIMD build + add_pcsx2_plugin("${Output}" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}") add_pcsx2_plugin("${Output}-SSE4" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -mssse3 -msse4 -msse4.1") add_pcsx2_plugin("${Output}-AVX2" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -mavx -mavx2") else()