aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cpp.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index af1d0daba9..7d782c7ea6 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3049,7 +3049,10 @@ queues, resource pools, strings, etc.
(native-inputs (list googletest benchmark))
(arguments
(list #:configure-flags
- #~(list "-DFTXUI_BUILD_TESTS:BOOL=ON"
+ #~(list (string-append "-DFTXUI_BUILD_TESTS:BOOL="
+ #$(if (%current-target-system)
+ "OFF"
+ "ON"))
"-DFTXUI_BUILD_TESTS_FUZZER:BOOL=OFF"
"-DBUILD_SHARED_LIBS=ON")))
(home-page "https://github.com/ArthurSonzogni/FTXUI")