File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,15 @@ set(USE_GETTEXT FALSE)
62
62
63
63
if (ENABLE_GETTEXT)
64
64
find_package (GettextLib)
65
- if (GETTEXT_FOUND )
65
+ if (GETTEXTLIB_FOUND )
66
66
if (WIN32 )
67
67
message (STATUS "GetText library: ${GETTEXT_LIBRARY} " )
68
68
message (STATUS "GetText DLL: ${GETTEXT_DLL} " )
69
69
message (STATUS "GetText iconv DLL: ${GETTEXT_ICONV_DLL} " )
70
70
endif ()
71
71
set (USE_GETTEXT TRUE )
72
72
message (STATUS "GetText enabled; locales found: ${GETTEXT_AVAILABLE_LOCALES} " )
73
- endif (GETTEXT_FOUND )
73
+ endif (GETTEXTLIB_FOUND )
74
74
else ()
75
75
mark_as_advanced (GETTEXT_ICONV_DLL GETTEXT_INCLUDE_DIR GETTEXT_LIBRARY GETTEXT_MSGFMT)
76
76
message (STATUS "GetText disabled." )
@@ -680,7 +680,7 @@ set(GETTEXT_BLACKLISTED_LOCALES
680
680
681
681
option (APPLY_LOCALE_BLACKLIST "Use a blacklist to avoid broken locales" TRUE )
682
682
683
- if (GETTEXT_FOUND AND APPLY_LOCALE_BLACKLIST)
683
+ if (GETTEXTLIB_FOUND AND APPLY_LOCALE_BLACKLIST)
684
684
set (GETTEXT_USED_LOCALES "" )
685
685
foreach (LOCALE ${GETTEXT_AVAILABLE_LOCALES} )
686
686
if (NOT ";${GETTEXT_BLACKLISTED_LOCALES} ;" MATCHES ";${LOCALE} ;" )
You can’t perform that action at this time.
0 commit comments