summaryrefslogtreecommitdiff
path: root/dev-cpp/scnlib/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/scnlib/files')
-rw-r--r--dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch
new file mode 100644
index 000000000000..af0feb295c7a
--- /dev/null
+++ b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch
@@ -0,0 +1,16 @@
+diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
+index ae2832b..186fbed 100644
+--- a/cmake/dependencies.cmake
++++ b/cmake/dependencies.cmake
+@@ -61,7 +61,10 @@ endif ()
+ # we don't want to include tests of dependencies, so we need to do some manual work
+
+ if (SCN_USE_EXTERNAL_SIMDUTF)
+- find_package(simdutf 4.0.0 CONFIG REQUIRED)
++ find_package(simdutf 5.2.0 CONFIG)
++ if(NOT simdutf_FOUND)
++ find_package(simdutf 4.0.0 CONFIG REQUIRED)
++ endif()
+ else ()
+ FetchContent_Declare(
+ simdutf