summaryrefslogtreecommitdiff
path: root/magic_enum-fix-build_tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'magic_enum-fix-build_tests.patch')
-rw-r--r--magic_enum-fix-build_tests.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/magic_enum-fix-build_tests.patch b/magic_enum-fix-build_tests.patch
new file mode 100644
index 0000000..587123c
--- /dev/null
+++ b/magic_enum-fix-build_tests.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2026-07-28 19:26:14.966243403 +0800
++++ b/CMakeLists.txt 2026-07-28 19:26:14.970242937 +0800
+@@ -32,7 +32,7 @@
+ endif()
+
+ option(MAGIC_ENUM_OPT_BUILD_EXAMPLES "Build magic_enum examples" ${IS_TOPLEVEL_PROJECT})
+-option(MAGIC_ENUM_OPT_BUILD_TESTS "Build and perform magic_enum tests" ${IS_TOPLEVEL_PROJECT})
++option(MAGIC_ENUM_OPT_BUILD_TESTS "Build and perform magic_enum tests" OFF)
+ option(MAGIC_ENUM_OPT_INSTALL "Generate and install magic_enum target" ${IS_TOPLEVEL_PROJECT})
+ option(MAGIC_ENUM_OPT_INSTALL_PACKAGE_XML "Include package.xml when installing"
+ ${MAGIC_ENUM_OPT_INSTALL}