Add dependencies of localization target correctly

This commit is contained in:
Martchus 2016-11-12 02:08:02 +01:00
parent 6d623989a8
commit c443250989
1 changed files with 1 additions and 1 deletions

View File

@ -131,9 +131,9 @@ if(TS_FILES)
if(NOT TARGET install-localization)
set(LOCALIZATION_TARGET "install-localization")
add_custom_target(${LOCALIZATION_TARGET}
DEPENDS ${META_PROJECT_NAME}_translations
COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=localization -P "${CMAKE_BINARY_DIR}/cmake_install.cmake"
)
add_dependencies(${LOCALIZATION_TARGET} ${META_PROJECT_NAME}_translations)
endif()
# built-in translations