build: fix warning with passively available libintl (#10380)

Since 0364f51 it would display a warning.
This commit is contained in:
Daniel Hahler
2019-07-01 03:32:52 +02:00
committed by GitHub
parent 6e06f4795a
commit 740fb337dd
2 changed files with 11 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ if (HAVE_WORKING_LIBINTL)
if(LibIntl_FIND_REQUIRED)
unset(LibIntl_FIND_REQUIRED)
endif()
set(LibIntl_FIND_QUIETLY ON)
check_variable_exists(_nl_msg_cat_cntr HAVE_NL_MSG_CAT_CNTR)
endif()