From 67a6f31b8828194269aec7ac030e00948200ab20 Mon Sep 17 00:00:00 2001 From: Shanoah Alkire Date: Wed, 2 Jan 2019 00:00:43 -0800 Subject: [PATCH] Properly escape the period in Translation.cmake. --- cmake/Translation.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Translation.cmake b/cmake/Translation.cmake index 6f1079853b..a379435fe1 100644 --- a/cmake/Translation.cmake +++ b/cmake/Translation.cmake @@ -53,9 +53,9 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile _firstPoFileArg) GET_FILENAME_COMPONENT(_lang ${_abs_PATH} NAME_WE) SET(_gmoFile ${CMAKE_BINARY_DIR}/${_lang}__${_gmoBase}.gmo) - IF (_currentPoFile MATCHES ".git") + IF (_currentPoFile MATCHES "\\.git") continue() - ENDIF (_currentPoFile MATCHES ".git") + ENDIF (_currentPoFile MATCHES "\\.git") IF (CMAKE_BUILD_PO) ADD_CUSTOM_COMMAND( OUTPUT ${_gmoFile}