CMake: remove useless directory inclusions for exiv2

Note that ${CMAKE_SOURCE_DIR}/include is already passed to exiv2
through the exiv2lib target.
This commit is contained in:
Luis Díaz Más 2018-11-12 19:01:06 +01:00
parent 185bcaca05
commit 4ffc577e4e

View File

@ -335,8 +335,6 @@ if(EXIV2_BUILD_EXIV2_COMMAND)
target_link_libraries( exiv2 PRIVATE exiv2lib )
# modify source lists to suit environment
target_include_directories(exiv2 PRIVATE ${CMAKE_SOURCE_DIR}/include/)
if( EXIV2_ENABLE_NLS )
target_link_libraries(exiv2 PRIVATE ${LIBINTL_LIBRARIES})
endif()