aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a3ec41d..b7047dc0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1591,6 +1591,8 @@ if(HAVE_DECODERS AND (NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900))
# NOTE: The translations are in the "xz" domain and the .mo files are
# installed as part of the "xz" target.
if(ENABLE_NLS)
+ target_link_libraries(lzmainfo PRIVATE Intl::Intl)
+
target_compile_definitions(lzmainfo PRIVATE
ENABLE_NLS
PACKAGE="${TRANSLATION_DOMAIN}"