From 0b77f7016c076204d908318208361a9db55dbf52 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Wed, 18 Sep 2024 16:03:09 +0800 Subject: gnu: ftxui: Fix cross-compiling. * gnu/packages/cpp.scm (ftxui)[arguments]<#:configure-flags>: Disable FTXUI_BUILD_TESTS when cross-compiling. Change-Id: I0c4578febcbd40076dc0b85505406e16d4b65ba1 --- gnu/packages/cpp.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu') 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") -- cgit v1.2.3