We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b832728 commit 9f5767dCopy full SHA for 9f5767d
src/CMakeLists.txt
@@ -184,7 +184,7 @@ target_include_directories(exiv2lib SYSTEM PRIVATE
184
185
if (EXIV2_ENABLE_XMP OR EXIV2_ENABLE_EXTERNAL_XMP)
186
target_include_directories(exiv2lib PRIVATE ${EXPAT_INCLUDE_DIR})
187
- target_link_libraries(exiv2lib PRIVATE EXPAT::EXPAT)
+ target_link_libraries(exiv2lib PRIVATE $<BUILD_INTERFACE:EXPAT::EXPAT>)
188
list(APPEND requires_private_list "expat")
189
endif()
190
0 commit comments