diff --git a/cmake/Translation.cmake b/cmake/Translation.cmake index 9ed661af97..e955d56c82 100644 --- a/cmake/Translation.cmake +++ b/cmake/Translation.cmake @@ -32,7 +32,7 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -MACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile) +FUNCTION(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile) SET(_moFiles) GET_FILENAME_COMPONENT(_potBasename ${_potFile} NAME_WE) GET_FILENAME_COMPONENT(_absPotFile ${_potFile} ABSOLUTE) @@ -96,4 +96,4 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile) ADD_CUSTOM_TARGET(translations_${_potBasename} ALL DEPENDS ${_moFiles}) ENDIF(NOT LINUX_PACKAGE AND NOT APPLE) -ENDMACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2) +ENDFUNCTION(GETTEXT_CREATE_TRANSLATIONS_PCSX2)