summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/onigmo/cmake/macos-setup.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/onigmo/cmake/macos-setup.cmake')
-rw-r--r--fluent-bit/lib/onigmo/cmake/macos-setup.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/fluent-bit/lib/onigmo/cmake/macos-setup.cmake b/fluent-bit/lib/onigmo/cmake/macos-setup.cmake
new file mode 100644
index 000000000..c8977cca8
--- /dev/null
+++ b/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()