1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-16 22:08:17 +01:00

Remove obsolete qt_add_translation macro

This commit is contained in:
Andreas Sturmlechner 2018-07-07 22:42:36 +02:00 committed by Dominik Schmidt
parent 3b1e0b3cf1
commit 4815dd78c1
2 changed files with 1 additions and 4 deletions

View File

@ -187,9 +187,6 @@ if(WIN32)
endif()
find_package(Qt5LinguistTools REQUIRED)
macro(qt_add_translation)
qt5_add_translation(${ARGN})
endmacro()
if( UNIX AND NOT APPLE )
macro(qt_add_dbus_interface)

View File

@ -21,7 +21,7 @@ macro(add_tomahawk_translations language)
file( WRITE ${CMAKE_BINARY_DIR}/lang/tomahawk_i18n.qrc "${tomahawk_i18n_qrc_content}" )
qt_add_translation(QM_FILES ${TS_FILES})
qt5_add_translation(QM_FILES ${TS_FILES})
## HACK HACK HACK - around rcc limitations to allow out of source-tree building
set( trans_file tomahawk_i18n )