Package sources for project openSUSE:Factory:PullRequest:48:MinimalX are received through scmsync. This is not supported by the OBS frontend

File pcsx2-no_PCH.patch of Package pcsx2-git

diff --git a/common/src/Utilities/CMakeLists.txt b/common/src/Utilities/CMakeLists.txt
index 034afe6b2..2633f83b5 100644
--- a/common/src/Utilities/CMakeLists.txt
+++ b/common/src/Utilities/CMakeLists.txt
@@ -28,7 +28,6 @@ set(UtilitiesSources
 	Linux/LnxHostSys.cpp
 	Mutex.cpp
 	PathUtils.cpp
-	PrecompiledHeader.cpp
 	Perf.cpp
 	pxCheckBox.cpp
 	pxRadioPanel.cpp
@@ -78,7 +77,6 @@ set(UtilitiesHeaders
 	../../include/Utilities/wxAppWithHelpers.h
 	../../include/Utilities/wxBaseTools.h
 	../../include/Utilities/wxGuiTools.h
-	PrecompiledHeader.h
 	ThreadingInternal.h
 )
 
@@ -121,8 +119,3 @@ target_compile_features(${Output} PUBLIC cxx_std_17)
 target_compile_features(${Output}_NO_TLS PUBLIC cxx_std_17)
 target_include_directories(${Output} PUBLIC ../../../3rdparty/include)
 target_include_directories(${Output}_NO_TLS PUBLIC ../../../3rdparty/include)
-
-if(COMMAND target_precompile_headers)
-	target_precompile_headers(${Output} PRIVATE PrecompiledHeader.h)
-	target_precompile_headers(${Output}_NO_TLS PRIVATE PrecompiledHeader.h)
-endif()
diff --git a/common/src/x86emitter/CMakeLists.txt b/common/src/x86emitter/CMakeLists.txt
index 6bbc355e5..04dd0c8bb 100644
--- a/common/src/x86emitter/CMakeLists.txt
+++ b/common/src/x86emitter/CMakeLists.txt
@@ -23,7 +23,6 @@ set(x86emitterSources
 	legacy.cpp
 	legacy_sse.cpp
 	movs.cpp
-	PrecompiledHeader.cpp
 	simd.cpp
 	x86emitter.cpp)
 
@@ -53,7 +52,6 @@ set(x86emitterHeaders
 	../../include/x86emitter/tools.h
 	../../include/x86emitter/x86emitter.h
 	../../include/x86emitter/x86types.h
-	PrecompiledHeader.h
 	cpudetect_internal.h
 	)
 
@@ -74,7 +72,3 @@ set(x86emitterFinalLibs
 
 add_pcsx2_lib(${Output} "${x86emitterFinalSources}" "${x86emitterFinalLibs}" "${x86emitterFinalFlags}")
 target_compile_features(${Output} PUBLIC cxx_std_17)
-
-if(COMMAND target_precompile_headers)
-	target_precompile_headers(${Output} PRIVATE PrecompiledHeader.h)
-endif()
diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt
index e7894ab08..eb5da1260 100644
--- a/pcsx2/CMakeLists.txt
+++ b/pcsx2/CMakeLists.txt
@@ -22,7 +22,6 @@ set(CommonFlags
     -Wno-parentheses
     -Wno-missing-braces
     -Wno-unknown-pragmas
-    -DWX_PRECOMP
 	)
 
 if(GCC_VERSION VERSION_EQUAL "8.0" OR GCC_VERSION VERSION_GREATER "8.0")
@@ -99,7 +98,6 @@ set(pcsx2Sources
 	Patch.cpp
 	Patch_Memory.cpp
 	Pcsx2Config.cpp
-	PrecompiledHeader.cpp
 	R3000A.cpp
 	R3000AInterpreter.cpp
 	R3000AOpcodeTables.cpp
@@ -168,7 +166,6 @@ set(pcsx2Headers
 	MemoryTypes.h
 	Patch.h
 	PathDefs.h
-	PrecompiledHeader.h
 	R3000A.h
 	R5900Exceptions.h
 	R5900.h
@@ -1300,11 +1297,6 @@ endif()
 add_pcsx2_executable(${Output} "${pcsx2FinalSources}" "${pcsx2FinalLibs}" "${pcsx2FinalFlags}")
 target_compile_features(${Output} PRIVATE cxx_std_17)
 
-if(COMMAND target_precompile_headers)
-	message("Using precompiled headers.")
-	target_precompile_headers(${Output} PRIVATE PrecompiledHeader.h)
-endif()
-
 if (APPLE)
 	# MacOS defaults to having a maximum protection of the __DATA segment of rw (non-executable)
 	# We have a bunch of page-sized arrays in bss that we use for jit
openSUSE Build Service is sponsored by