Cmake: fix installation of translations

Umm, that one's embarrassing.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-09-22 09:32:38 -07:00
parent 084b4152e4
commit 000a93fb64

View file

@ -35,8 +35,8 @@ set(TRANSLATION_FILES
# subsurface_hu.ts
# subsurface_ro_RO.ts
set(TRANSLATIONS ${TRANSLATIONS} PARENT_SCOPE)
qt5_add_translation(TRANSLATIONS ${TRANSLATION_FILES})
set(TRANSLATIONS ${TRANSLATIONS} PARENT_SCOPE)
add_custom_target (translations ALL DEPENDS ${TRANSLATIONS})
# enable the following two lines to recreate the .ts files