зеркало из https://github.com/nextcloud/desktop.git
CMake: Don't need translations with token auth compile
This commit is contained in:
Родитель
8df14ee845
Коммит
1bc8fd9b49
|
@ -66,10 +66,12 @@ endif()
|
|||
qt5_add_resources(${ARGN})
|
||||
endmacro()
|
||||
|
||||
if(NOT TOKEN_AUTH_ONLY)
|
||||
find_package(Qt5LinguistTools REQUIRED)
|
||||
macro(qt_add_translation)
|
||||
qt5_add_translation(${ARGN})
|
||||
endmacro()
|
||||
endif()
|
||||
|
||||
macro(qt_add_dbus_interface)
|
||||
qt5_add_dbus_interface(${ARGN})
|
||||
|
|
|
@ -355,7 +355,9 @@ ENDIF()
|
|||
include_directories(../csync/src ../csync/src/httpbf/src ${CMAKE_CURRENT_BINARY_DIR}/../csync ${CMAKE_CURRENT_BINARY_DIR}/../csync/src )
|
||||
include_directories(${3rdparty_INC})
|
||||
|
||||
if(NOT TOKEN_AUTH_ONLY)
|
||||
qt_add_translation(mirall_I18N ${TRANSLATIONS})
|
||||
endif()
|
||||
|
||||
set( final_src
|
||||
${mirall_HEADERS}
|
||||
|
|
Загрузка…
Ссылка в новой задаче