diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-24 21:17:14 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-24 21:17:14 +0100 |
commit | 101127f10961a55b7229bce89db5889f0c35a985 (patch) | |
tree | 2bda7ae7440ee3e495f57ab9c51459996a2aab04 /packages | |
parent | 945c3fe3488dc4dd54f4d73d9e4c98a46b1735d7 (diff) |
komodo: make available strong_type, doom_meta and SortFilterProxyModel to linker: compilation error
Diffstat (limited to 'packages')
-rw-r--r-- | packages/komodo/komodo.scm | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/packages/komodo/komodo.scm b/packages/komodo/komodo.scm index fff8c09..c074f7b 100644 --- a/packages/komodo/komodo.scm +++ b/packages/komodo/komodo.scm @@ -29,6 +29,7 @@ #:prefix license:) #:use-module (guix packages) #:use-module (refl-cpp) + #:use-module (sortfilterproxymodel) #:use-module (strong-type) #:use-module (taskflow-2)) @@ -266,6 +267,17 @@ (("STD") "STD\n#include <nlohmann/json.hpp>"))) +(define link-libraries + `(substitute* "cmake/dependencies.cmake" + (("ALIAS refl-cpp\\)") + (string-append "ALIAS refl-cpp)\n" + "add_library(strong_type INTERFACE)\n" + "target_link_libraries(strong_type INTERFACE strong_type)\n" + "add_library(doom_meta INTERFACE)\n" + "target_link_libraries(doom_meta INTERFACE doom_meta)\n" + "add_library(SortFilterProxyModel INTERFACE)\n" + "target_link_libraries(SortFilterProxyModel INTERFACE SortFilterProxyModel)\n")))) + (define remove-unity `(substitute* "src/CMakeLists.txt" (("UNITY_BUILD ON") @@ -289,7 +301,8 @@ ,fix-date ,fix-doom-meta ;; ,remove-unity - ,include-nlohmann)) + ,include-nlohmann + ,link-libraries)) (define entt-komodo-content-hash-get (content-hash (base32 entt-komodo-hash))) @@ -426,7 +439,7 @@ (list boost cpprestsdk date doctest doom-meta entt-komodo fmt git libsodium-komodo nlohmann-json openssl perl python qtcharts qtdeclarative-5 qttools-5 qtsvg-5 qtwebengine-5 range-v3 refl-cpp - spdlog-1.8 strong-type taskflow-2 wally zlib)) + sortfilterproxymodel spdlog-1.8 strong-type taskflow-2 wally zlib)) (define komodo-wallet-synopsis (string-concatenate komodo-wallet-synopsis-lines)) |