From 4e9c98b3636775a3cfa8b7412ada5a45fcbdb8b5 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 24 Mar 2024 08:45:53 +0100 Subject: komodo: disable unity_build: works around compilation error --- packages/komodo/komodo.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packages/komodo/komodo.scm') diff --git a/packages/komodo/komodo.scm b/packages/komodo/komodo.scm index 66ced4a..baead0d 100644 --- a/packages/komodo/komodo.scm +++ b/packages/komodo/komodo.scm @@ -261,6 +261,11 @@ (("doom::meta") "doom_meta"))) +(define remove-unity + `(substitute* "src/CMakeLists.txt" + (("UNITY_BUILD ON") + "UNITY_BUILD OFF"))) + (define replace-vcpkg `(substitute* "CMakeLists.txt" (("include\\(vcpkg_prerequisites\\)") @@ -277,7 +282,8 @@ `(lambda _ ,replace-vcpkg ,fix-date - ,fix-doom-meta)) + ,fix-doom-meta + ,remove-unity)) (define entt-komodo-content-hash-get (content-hash (base32 entt-komodo-hash))) -- cgit v1.2.3