Fixed build against modern spdlog.
This commit is contained in:
parent
64e4f2c837
commit
0900db00b8
21
nheko-modern-spdlog.patch
Normal file
21
nheko-modern-spdlog.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index fda60b7..cca69ff 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -7,6 +7,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
|
add_definitions(-DBOOST_MPL_LIMIT_LIST_SIZE=30)
|
||||||
|
add_definitions(-DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS)
|
||||||
|
+add_definitions(-DSPDLOG_COMPILED_LIB)
|
||||||
|
+add_definitions(-DSPDLOG_FMT_EXTERNAL)
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
@@ -395,6 +397,7 @@ set(COMMON_LIBS
|
||||||
|
MatrixClient::MatrixClient
|
||||||
|
${Boost_LIBRARIES}
|
||||||
|
cmark::cmark
|
||||||
|
+ spdlog::spdlog
|
||||||
|
Qt5::Widgets
|
||||||
|
Qt5::Svg
|
||||||
|
Qt5::Concurrent
|
@ -8,6 +8,7 @@ Summary: Desktop client for the Matrix protocol
|
|||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://github.com/Nheko-Reborn/nheko
|
URL: https://github.com/Nheko-Reborn/nheko
|
||||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
Patch100: %{name}-modern-spdlog.patch
|
||||||
|
|
||||||
BuildRequires: cmake(Qt5Svg)
|
BuildRequires: cmake(Qt5Svg)
|
||||||
BuildRequires: cmake(Qt5DBus)
|
BuildRequires: cmake(Qt5DBus)
|
||||||
|
Loading…
Reference in New Issue
Block a user