Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbackhouse committed Aug 21, 2021
1 parent 6d93a14 commit 9838379
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ target_include_directories(exiv2lib SYSTEM PRIVATE
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/xmpsdk/include>
)

target_include_directories(exiv2lib_int PRIVATE ${EXPAT_INCLUDE_DIR})
target_link_libraries(exiv2lib_int PRIVATE ${EXPAT_LIBRARIES})

if (EXIV2_ENABLE_XMP)
target_link_libraries(exiv2lib PRIVATE exiv2-xmp)
elseif(EXIV2_ENABLE_EXTERNAL_XMP)
Expand Down

0 comments on commit 9838379

Please sign in to comment.