mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
CMake: Fix building of lzmainfo when translations are enabled.
This commit is contained in:
parent
b0d1422b60
commit
00b06cd0af
1 changed files with 2 additions and 0 deletions
|
@ -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
|
# NOTE: The translations are in the "xz" domain and the .mo files are
|
||||||
# installed as part of the "xz" target.
|
# installed as part of the "xz" target.
|
||||||
if(ENABLE_NLS)
|
if(ENABLE_NLS)
|
||||||
|
target_link_libraries(lzmainfo PRIVATE Intl::Intl)
|
||||||
|
|
||||||
target_compile_definitions(lzmainfo PRIVATE
|
target_compile_definitions(lzmainfo PRIVATE
|
||||||
ENABLE_NLS
|
ENABLE_NLS
|
||||||
PACKAGE="${TRANSLATION_DOMAIN}"
|
PACKAGE="${TRANSLATION_DOMAIN}"
|
||||||
|
|
Loading…
Reference in a new issue