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 committed Jul 2, 2024
1 parent 1a21ea9 commit 291210e
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 291210e

Please sign in to comment.