forked from pool/spdlog
- Patch file added locally
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=61
This commit is contained in:
parent
4a1ea28635
commit
e69b0660d8
24
e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
Normal file
24
e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 41efc971addb0596de50337863f01491a9fba2a5 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Fri, 13 May 2022 09:44:09 +0200
|
||||
Subject: [PATCH] build: expand SOVERSION to not give false illusion of
|
||||
compatibility
|
||||
|
||||
Fixes #2369
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 21577e508..dc6b0ded1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -169,7 +169,7 @@ target_include_directories(spdlog PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST
|
||||
target_link_libraries(spdlog PUBLIC Threads::Threads)
|
||||
spdlog_enable_warnings(spdlog)
|
||||
|
||||
-set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR})
|
||||
+set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR}.${SPDLOG_VERSION_MINOR})
|
||||
set_target_properties(spdlog PROPERTIES DEBUG_POSTFIX d)
|
||||
|
||||
if(COMMAND target_precompile_headers AND SPDLOG_ENABLE_PCH)
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 20:09:03 UTC 2022 - Bernd Ritter <comrad@posteo.de>
|
||||
|
||||
- Patch file added locally
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 20:00:13 UTC 2022 - Bernd Ritter <comrad@posteo.de>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user