From e1f205daf9fc6805fbdbfb0778c1bb2342ad14e9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 13 Aug 2026 03:15:17 +0000 Subject: automatic import of poco --- poco-deal-with-libsuffix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 poco-deal-with-libsuffix.patch (limited to 'poco-deal-with-libsuffix.patch') diff --git a/poco-deal-with-libsuffix.patch b/poco-deal-with-libsuffix.patch new file mode 100644 index 0000000..09540f7 --- /dev/null +++ b/poco-deal-with-libsuffix.patch @@ -0,0 +1,12 @@ +--- poco-poco-1.12.4-release/CMakeLists.txt.orig 2025-08-23 10:35:09.617111500 +0800 ++++ poco-poco-1.12.4-release/CMakeLists.txt 2025-08-23 10:38:06.806080300 +0800 +@@ -52,6 +52,9 @@ + + # Enable standard installation directories + include(GNUInstallDirs) ++if("${LIB_SUFFIX}" STREQUAL "" AND NOT ${CMAKE_INSTALL_LIBDIR} STREQUAL "lib") ++ STRING(REPLACE "lib" "" LIB_SUFFIX ${CMAKE_INSTALL_LIBDIR}) ++endif("${LIB_SUFFIX}" STREQUAL "" AND NOT ${CMAKE_INSTALL_LIBDIR} STREQUAL "lib") + + # Include some common macros to simpilfy the Poco CMake files + include(PocoMacros) -- cgit v1.2.3