mirror of https://github.com/PCSX2/pcsx2.git
Properly escape the period in Translation.cmake.
This commit is contained in:
parent
4cf3328682
commit
67a6f31b88
|
@ -53,9 +53,9 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile _firstPoFileArg)
|
||||||
GET_FILENAME_COMPONENT(_lang ${_abs_PATH} NAME_WE)
|
GET_FILENAME_COMPONENT(_lang ${_abs_PATH} NAME_WE)
|
||||||
SET(_gmoFile ${CMAKE_BINARY_DIR}/${_lang}__${_gmoBase}.gmo)
|
SET(_gmoFile ${CMAKE_BINARY_DIR}/${_lang}__${_gmoBase}.gmo)
|
||||||
|
|
||||||
IF (_currentPoFile MATCHES ".git")
|
IF (_currentPoFile MATCHES "\\.git")
|
||||||
continue()
|
continue()
|
||||||
ENDIF (_currentPoFile MATCHES ".git")
|
ENDIF (_currentPoFile MATCHES "\\.git")
|
||||||
|
|
||||||
IF (CMAKE_BUILD_PO)
|
IF (CMAKE_BUILD_PO)
|
||||||
ADD_CUSTOM_COMMAND( OUTPUT ${_gmoFile}
|
ADD_CUSTOM_COMMAND( OUTPUT ${_gmoFile}
|
||||||
|
|
Loading…
Reference in New Issue