Link geotag sample against exiv2-xmp
This commit is contained in:
parent
4265ac5e0f
commit
85c27ea3b4
@ -72,7 +72,11 @@ install( TARGETS metacopy pathtest exiv2json RUNTIME DESTINATION ${CMAKE_INSTALL
|
||||
if( EXPAT_FOUND )
|
||||
add_executable( geotag geotag.cpp)
|
||||
list(APPEND APPLICATIONS geotag)
|
||||
target_link_libraries( geotag PRIVATE ${EXPAT_LIBRARIES})
|
||||
target_link_libraries(geotag
|
||||
PRIVATE
|
||||
exiv2-xmp
|
||||
${EXPAT_LIBRARIES}
|
||||
)
|
||||
target_include_directories(geotag PRIVATE ${EXPAT_INCLUDE_DIR})
|
||||
target_include_directories(geotag PRIVATE ${CMAKE_SOURCE_DIR}/src) # To find unused.h
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user