Skip to content

Commit

Permalink
[Build][Windows] Add windows debug postfix definition
Browse files Browse the repository at this point in the history
  • Loading branch information
enen92 authored and neheb committed Sep 30, 2024
1 parent cb05622 commit 2392d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2392d8a

Please sign in to comment.