aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/exiv2/0004-WIN-lib-postfix.patch
blob: a78dacec9f400efebb6d087c6aeb10a710d755ed (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -215,6 +215,7 @@
     target_compile_definitions(exiv2lib PRIVATE PSAPI_VERSION=1)    # to be compatible with <= WinVista (#905)
     # Since windows.h is included in some headers, we need to propagate this definition
     target_compile_definitions(exiv2lib PUBLIC WIN32_LEAN_AND_MEAN)
+    set_target_properties(exiv2lib PROPERTIES DEBUG_POSTFIX d)
 endif()
 
 if (NOT MSVC)