mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-28 18:41:14 +00:00
26 lines
953 B
Diff
26 lines
953 B
Diff
|
From e3b20cc569d515e5d6d76bc6a39aa7791dd20ec8 Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
||
|
Date: Sun, 14 May 2023 02:14:20 +0200
|
||
|
Subject: [PATCH] cmake: Disable invalid flags on universal build
|
||
|
|
||
|
---
|
||
|
cmake/Modules/CompilerConfig.cmake | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/cmake/Modules/CompilerConfig.cmake b/cmake/Modules/CompilerConfig.cmake
|
||
|
index 41c56da8b..58111b383 100644
|
||
|
--- a/cmake/Modules/CompilerConfig.cmake
|
||
|
+++ b/cmake/Modules/CompilerConfig.cmake
|
||
|
@@ -152,7 +152,7 @@ endif()
|
||
|
|
||
|
if(LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86|x64|x86_64|amd64|e2k)")
|
||
|
if(NOT MSVC AND NOT CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
|
||
|
- set(ARCH_SIMD_FLAGS -mmmx -msse -msse2)
|
||
|
+# set(ARCH_SIMD_FLAGS -mmmx -msse -msse2)
|
||
|
endif()
|
||
|
elseif(LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64(le)?")
|
||
|
set(ARCH_SIMD_DEFINES -DNO_WARN_X86_INTRINSICS)
|
||
|
--
|
||
|
2.39.2.windows.1
|
||
|
|