diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aab21a83..a7993898 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -231,13 +231,13 @@ endif() # TODO : We should not include include/exiv2 but only include !!! target_include_directories(exiv2lib PUBLIC - $ - $ + $ + $ $ ) target_include_directories(exiv2lib_int PUBLIC - $ + $ ) if (EXIV2_ENABLE_WEBREADY) diff --git a/xmpsdk/CMakeLists.txt b/xmpsdk/CMakeLists.txt index ff8fd8bb..68913ded 100644 --- a/xmpsdk/CMakeLists.txt +++ b/xmpsdk/CMakeLists.txt @@ -37,7 +37,7 @@ target_link_libraries(xmp target_include_directories(xmp PUBLIC - $ + $ PRIVATE ${EXPAT_INCLUDE_DIR} )