mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Remove obsolete qt_add_translation macro
This commit is contained in:
committed by
Dominik Schmidt
parent
3b1e0b3cf1
commit
4815dd78c1
@@ -187,9 +187,6 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Qt5LinguistTools REQUIRED)
|
find_package(Qt5LinguistTools REQUIRED)
|
||||||
macro(qt_add_translation)
|
|
||||||
qt5_add_translation(${ARGN})
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
if( UNIX AND NOT APPLE )
|
if( UNIX AND NOT APPLE )
|
||||||
macro(qt_add_dbus_interface)
|
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}" )
|
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
|
## HACK HACK HACK - around rcc limitations to allow out of source-tree building
|
||||||
set( trans_file tomahawk_i18n )
|
set( trans_file tomahawk_i18n )
|
||||||
|
Reference in New Issue
Block a user