From 4ffc577e4efc8285197b0de7ff41e80bdf4895ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Mon, 12 Nov 2018 19:01:06 +0100 Subject: [PATCH] CMake: remove useless directory inclusions for exiv2 Note that ${CMAKE_SOURCE_DIR}/include is already passed to exiv2 through the exiv2lib target. --- src/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ec73daa0..0fbc37fe 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()