aboutsummaryrefslogtreecommitdiff
path: root/math/kfr/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math/kfr/files/patch-CMakeLists.txt')
-rw-r--r--math/kfr/files/patch-CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/kfr/files/patch-CMakeLists.txt b/math/kfr/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..636950f32a42
--- /dev/null
+++ b/math/kfr/files/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+--- CMakeLists.txt.orig 2025-07-18 13:33:23 UTC
++++ CMakeLists.txt
+@@ -180,8 +180,6 @@ option(ENABLE_TESTS "Enable KFR tests" OFF)
+ "Multiple architectures will be built with runtime dispatch" ON)
+
+ option(ENABLE_TESTS "Enable KFR tests" OFF)
+-cmake_dependent_option(ENABLE_EXAMPLES "Enable KFR examples" ON "ENABLE_TESTS"
+- OFF)
+ if (CLANG)
+ option(KFR_ENABLE_DFT "Enable DFT and related algorithms." ON)
+ else ()
+@@ -390,7 +388,6 @@ if (ENABLE_EXAMPLES)
+ endif ()
+
+ if (ENABLE_EXAMPLES)
+- add_subdirectory(examples)
+ add_subdirectory(tools)
+ endif ()
+ if (ENABLE_TESTS)