From 291210e28971a112625c14e55a80d63438eb2b92 Mon Sep 17 00:00:00 2001 From: enen92 <92enen@gmail.com> Date: Tue, 2 Jul 2024 10:31:09 +0100 Subject: [PATCH] [Build][Windows] Add windows debug postfix definition --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6b321bac94..32800de1ed 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -236,6 +236,7 @@ if(WIN32) 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)