Add dependencies of localization target correctly
This commit is contained in:
parent
6d623989a8
commit
c443250989
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue