aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-09-18 16:03:09 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-09-18 17:39:06 +0800
commit0b77f7016c076204d908318208361a9db55dbf52 (patch)
tree91ef36dafd36cf9dfaae26aaf9b05ac7754d6a17 /gnu/packages/cpp.scm
parent736c0ad3243f7393a482305dbedb48e16ea3fec9 (diff)
downloadguix-0b77f7016c076204d908318208361a9db55dbf52.tar
guix-0b77f7016c076204d908318208361a9db55dbf52.tar.gz
gnu: ftxui: Fix cross-compiling.
* gnu/packages/cpp.scm (ftxui)[arguments]<#:configure-flags>: Disable FTXUI_BUILD_TESTS when cross-compiling. Change-Id: I0c4578febcbd40076dc0b85505406e16d4b65ba1
Diffstat (limited to 'gnu/packages/cpp.scm')
-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")