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:
parent
3b1e0b3cf1
commit
4815dd78c1
@ -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)
|
||||
|
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user