wesnoth/po/wesnoth-httt/CMakeLists.txt
Moritz Göbelbecker e9c10d50e4 Add translation support for manual and manpages (update-po4a)
Keep the list of languages only in po/LINGUAS (the old files remain
for now for compatibility)
2008-05-09 19:12:21 +00:00

8 lines
225 B
CMake

#get domain from current dir
file(RELATIVE_PATH REL ${CMAKE_SOURCE_DIR}/po ${CMAKE_CURRENT_SOURCE_DIR} )
set(DOMAIN ${REL})
ADD_POT_TARGET(${DOMAIN})
ADD_PO_TARGETS(${DOMAIN} ${LINGUAS})
ADD_MO_TARGETS(${DOMAIN} ${LINGUAS})