diff options
author | thexai <58434170+thexai@users.noreply.github.com> | 2022-10-04 11:02:56 +0200 |
---|---|---|
committer | thexai <58434170+thexai@users.noreply.github.com> | 2022-10-04 12:18:25 +0200 |
commit | a7b0ed64ebef99bd0336d1ce9c1611517ea76529 (patch) | |
tree | 6c377a48b0b14ee73d23ec1d443bbb23725264ea /tools | |
parent | 05c9e1f137fb62ab927060125c87b41e5a02ecb4 (diff) |
[Windows] fix fmt library compilation in debug mode
Is created with wrong name fmtdd.lib (double postfix d)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch | 5 |
1 files changed, 1 insertions, 4 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 7722f13dd3..1e8f706ec7 100644 --- a/tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch +++ b/tools/depends/target/fmt/001-windows-pdb-symbol-gen.patch @@ -1,14 +1,11 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -249,6 +249,16 @@ +@@ -249,6 +249,13 @@ set(FMT_DEBUG_POSTFIX d CACHE STRING "Debug library postfix.") +if (WIN32 OR WINDOWS_STORE) + set_target_properties(fmt PROPERTIES -+ VERSION ${FMT_VERSION} SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR} -+ OUTPUT_NAME fmt -+ OUTPUT_NAME_DEBUG fmt${FMT_DEBUG_POSTFIX} + COMPILE_PDB_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} + COMPILE_PDB_NAME fmt + COMPILE_PDB_NAME_DEBUG fmt${FMT_DEBUG_POSTFIX} |