summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc3fce49f..f87234a19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -432,11 +432,7 @@ foreach(TRANSLATION ${TRANSLATION_SRC})
COMMAND mkdir -p ${CMAKE_BINARY_DIR}/translations \\; ${LRELEASE} ${CMAKE_SOURCE_DIR}/${TRANSLATION} -qm ${CMAKE_BINARY_DIR}/${TRANSLATION_QM}
DEPENDS ${TRANSLATION}
)
- ADD_CUSTOM_TARGET(
- generate_translations_${TRANSLATION_TARGET}
- DEPENDS ${CMAKE_BINARY_DIR}/${TRANSLATION_QM}
- )
- ADD_DEPENDENCIES(subsurface generate_translations_${TRANSLATION_TARGET})
+ ADD_DEPENDENCIES(subsurface ${CMAKE_BINARY_DIR}/${TRANSLATION_QM})
set(TRANSLATIONS ${TRANSLATIONS} ${CMAKE_BINARY_DIR}/${TRANSLATION_QM})
endforeach()