cmake: add warning for ignored MSGFMT_EXE
commitce24797d388ab0fc13605d25239ae08bcb9c6738
authorMatthew Rogers <mattr94@gmail.com>
Sun, 6 Jun 2021 12:02:54 +0000 (6 12:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jun 2021 06:23:24 +0000 (11 15:23 +0900)
treee3601b3fd8c7073000fe76be7d68b93ae148f58e
parent409047a2b3fabb6a5f3fdbb28d93a5db3a7de28c
cmake: add warning for ignored MSGFMT_EXE

It does not make sense to attempt to set MSGFMT_EXE when NO_GETTEXT is
configured, as such add a check for NO_GETTEXT before attempting to set
it.

Suggested-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Matthew Rogers <mattr94@gmail.com>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/buildsystems/CMakeLists.txt