From 892d39e3bfc9fe0d2440a78362e68f65f3508554 Mon Sep 17 00:00:00 2001 From: Seth Parker Date: Thu, 7 Feb 2019 09:30:13 -0500 Subject: [PATCH] Add missing libintl include dirs to exiv2lib_int and exiv2 --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5b17545a..cf68942d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -217,6 +217,7 @@ endif() if( EXIV2_ENABLE_NLS ) target_link_libraries(exiv2lib PRIVATE ${Intl_LIBRARIES}) target_include_directories(exiv2lib PRIVATE ${Intl_INCLUDE_DIRS}) + target_include_directories(exiv2lib_int PRIVATE ${Intl_INCLUDE_DIRS}) # Definition needed for translations target_compile_definitions(exiv2lib PUBLIC EXV_LOCALEDIR="/../${CMAKE_INSTALL_LOCALEDIR}") endif() @@ -263,7 +264,7 @@ if(EXIV2_BUILD_EXIV2_COMMAND) if( EXIV2_ENABLE_NLS ) target_link_libraries(exiv2 PRIVATE ${Intl_LIBRARIES}) - target_include_directories(exiv2lib PRIVATE ${Intl_INCLUDE_DIRS}) + target_include_directories(exiv2 PRIVATE ${Intl_INCLUDE_DIRS}) endif() if (USING_CONAN AND WIN32 AND EXISTS ${PROJECT_BINARY_DIR}/conanDlls)