1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: "Michael R. Crusoe" <michael.crusoe@gmail.com>
Date: Mon, 27 Jul 2020 12:46:48 +0200
Subject: Use the simd everywhere headers from libsimde-dev
---
libobs/CMakeLists.txt | 17 -----------------
libobs/util/sse-intrin.h | 2 +-
2 files changed, 1 insertion(+), 18 deletions(-)
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
index 2bbb721..b43d6b4 100644
--- a/libobs/CMakeLists.txt
+++ b/libobs/CMakeLists.txt
@@ -68,23 +68,6 @@ target_sources(
obs-view.c
obs-config.h)
-target_sources(
- libobs
- PRIVATE util/simde/check.h
- util/simde/debug-trap.h
- util/simde/hedley.h
- util/simde/simde-align.h
- util/simde/simde-arch.h
- util/simde/simde-common.h
- util/simde/simde-constify.h
- util/simde/simde-detect-clang.h
- util/simde/simde-diagnostic.h
- util/simde/simde-features.h
- util/simde/simde-math.h
- util/simde/x86/mmx.h
- util/simde/x86/sse2.h
- util/simde/x86/sse.h)
-
target_sources(
libobs
PRIVATE callback/calldata.c
diff --git a/libobs/util/sse-intrin.h b/libobs/util/sse-intrin.h
index 6441e80..677a40c 100644
--- a/libobs/util/sse-intrin.h
+++ b/libobs/util/sse-intrin.h
@@ -25,5 +25,5 @@
#define WIN32_LEAN_AND_MEAN
#endif
#define SIMDE_ENABLE_NATIVE_ALIASES
-#include "simde/x86/sse2.h"
+#include <simde/x86/sse2.h>
#endif
|