aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFuzzard <bmurphy@bcmcs.net>2022-09-27 14:06:26 +1000
committerfuzzard <fuzzard@kodi.tv>2022-09-28 14:17:10 +1000
commit9bb4857d56890557e7df8b028b68e00850231839 (patch)
treeadaac540c48940e5afc29e3dd1e8ef2b832e0cd0 /tools
parent209a3e11b407ad6b85a9b00d72e9cde48a49efdd (diff)
[fmt] fixup patch for windows
Fixes patch applied for windows. Existing version doesnt install headers appropriately
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch b/tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch
index d4429afe05..7722f13dd3 100644
--- a/tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch
+++ b/tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch
@@ -1,6 +1,6 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -249,10 +249,21 @@
+@@ -249,6 +249,16 @@
set(FMT_DEBUG_POSTFIX d CACHE STRING "Debug library postfix.")
@@ -13,15 +13,10 @@
+ COMPILE_PDB_NAME fmt
+ COMPILE_PDB_NAME_DEBUG fmt${FMT_DEBUG_POSTFIX}
+ )
-+else()
++endif()
set_target_properties(fmt PROPERTIES
VERSION ${FMT_VERSION} SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}
PUBLIC_HEADER "${FMT_HEADERS}"
- DEBUG_POSTFIX "${FMT_DEBUG_POSTFIX}")
-+endif()
-
- # Set FMT_LIB_NAME for pkg-config fmt.pc. We cannot use the OUTPUT_NAME target
- # property because it's not set by default.
@@ -339,6 +350,18 @@
install(EXPORT ${targets_export_name} DESTINATION ${FMT_CMAKE_DIR}
NAMESPACE fmt::)