diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/klein/find_simde_first.patch | |
Diffstat (limited to 'vcpkg/ports/klein/find_simde_first.patch')
| -rw-r--r-- | vcpkg/ports/klein/find_simde_first.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/klein/find_simde_first.patch b/vcpkg/ports/klein/find_simde_first.patch new file mode 100644 index 0000000..ab9f715 --- /dev/null +++ b/vcpkg/ports/klein/find_simde_first.patch @@ -0,0 +1,23 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c5d6f3f..a3ba161 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -29,16 +29,7 @@ endif()
+ option(KLEIN_BUILD_SYM "Enable compilation of symbolic Klein utility" ON)
+ option(KLEIN_BUILD_C_BINDINGS "Enable compilation of the Klein C bindings" ON)
+
+-include(FetchContent)
+-FetchContent_Declare(
+- simde
+- GIT_REPOSITORY https://github.com/simd-everywhere/simde
+- GIT_TAG v0.7.2
+- GIT_SHALLOW ON
+-)
+-FetchContent_GetProperties(simde)
+-if(NOT simde_POPULATED)
+- FetchContent_Populate(simde)
+-endif()
++find_path(SIMDE_INCLUDE_DIR "simde/x86/sse4.1.h" REQUIRED)
++set(simde_SOURCE_DIR ${SIMDE_INCLUDE_DIR}/simde)
+
+ # The default platform and instruction set is x86 SSE3
|