]> git.ipfire.org Git - thirdparty/git.git/commit - contrib/buildsystems/CMakeLists.txt
cmake: add warning for ignored MSGFMT_EXE
authorMatthew Rogers <mattr94@gmail.com>
Sun, 6 Jun 2021 12:02:54 +0000 (12:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jun 2021 06:23:24 +0000 (15:23 +0900)
commitce24797d388ab0fc13605d25239ae08bcb9c6738
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