Skip to content

Commit 2392d8a

Browse files
enen92neheb
authored andcommitted
[Build][Windows] Add windows debug postfix definition
1 parent cb05622 commit 2392d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ if(WIN32)
236236
target_compile_definitions(exiv2lib PRIVATE PSAPI_VERSION=1) # to be compatible with <= WinVista (#905)
237237
# Since windows.h is included in some headers, we need to propagate this definition
238238
target_compile_definitions(exiv2lib PUBLIC WIN32_LEAN_AND_MEAN)
239+
set_target_properties(exiv2lib PROPERTIES DEBUG_POSTFIX d)
239240
endif()
240241

241242
if(NOT MSVC)

0 commit comments

Comments
 (0)