File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,6 @@ endif()
200200set_target_properties (exiv2lib_int PROPERTIES POSITION_INDEPENDENT_CODE ON COMPILE_DEFINITIONS exiv2lib_EXPORTS)
201201
202202# NOTE: Cannot use target_link_libraries on OBJECT libraries with old versions of CMake
203- target_include_directories (exiv2lib_int PRIVATE ${ZLIB_INCLUDE_DIR} )
204203target_include_directories (exiv2lib SYSTEM PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /xmpsdk/include >)
205204
206205if (EXIV2_ENABLE_XMP OR EXIV2_ENABLE_EXTERNAL_XMP)
@@ -254,6 +253,7 @@ endif()
254253
255254if (EXIV2_ENABLE_PNG)
256255 target_link_libraries (exiv2lib PRIVATE ZLIB::ZLIB)
256+ target_include_directories (exiv2lib_int PRIVATE ${ZLIB_INCLUDE_DIR} )
257257 list (APPEND requires_private_list "zlib" )
258258endif ()
259259
You can’t perform that action at this time.
0 commit comments