|
|
@ -285,9 +285,11 @@ set( EXIV2_SRC exiv2.cpp
|
|
|
|
utils.hpp
|
|
|
|
utils.hpp
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable( exiv2 ${EXIV2_SRC} )
|
|
|
|
if(EXIV2_ENABLE_TOOLS)
|
|
|
|
target_link_libraries( exiv2 PRIVATE exiv2lib )
|
|
|
|
add_executable( exiv2 ${EXIV2_SRC} )
|
|
|
|
install(TARGETS exiv2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
|
target_link_libraries( exiv2 PRIVATE exiv2lib )
|
|
|
|
|
|
|
|
install(TARGETS exiv2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# TODO This should not be needed here! we need to fix the previous TODO
|
|
|
|
# TODO This should not be needed here! we need to fix the previous TODO
|
|
|
|
target_include_directories(exiv2 PRIVATE ${CMAKE_SOURCE_DIR}/include/)
|
|
|
|
target_include_directories(exiv2 PRIVATE ${CMAKE_SOURCE_DIR}/include/)
|
|
|
|