summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/onigmo/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/lib/onigmo/cmake')
-rw-r--r--src/fluent-bit/lib/onigmo/cmake/macos-setup.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/onigmo/cmake/macos-setup.cmake b/src/fluent-bit/lib/onigmo/cmake/macos-setup.cmake
new file mode 100644
index 000000000..c8977cca8
--- /dev/null
+++ b/src/fluent-bit/lib/onigmo/cmake/macos-setup.cmake
@@ -0,0 +1,9 @@
+# Custom build settings for macOS
+#
+# pytest are not supported on macOS yet. This file tweaks
+# the build flags so that we can execute tests for onigmo on it.
+
+if(ONIGMO_MACOS_DEFAULTS)
+ message(STATUS "Overriding setttings with macos-setup.cmake")
+ set(ONIGMO_PYTHON_TESTS No)
+endif()