MantisBT - CMake
View Issue Details
0008122CMakeModulespublic2008-11-19 13:242009-01-10 08:41
Konrad Rzepecki 
Alex Neundorf 
normalminoralways
closedfixed 
CMake-2-6 
 
0008122: gettext_create_translations ALL param treated as po file
When I use gettext_create_translations with ALL parameter it is treated as po file (dispite it real function).

Try following CMakeLists.txt:

cmake_minimum_required(VERSION 2.6)
find_package(Gettext)
gettext_create_translations(xxxx.pot ALL pl_PL.po en_US.po)

Assuming that xxxx.pot, pl_PL.po and en_US.po files exists, "make" give this error:
make[2]: *** No rule to make target `../ALL', needed by `ALL.gmo'. Stop.
make[1]: *** [CMakeFiles/translations.dir/all] Error 2
make: *** [all] Error 2

When I have added "ALL" file, "make" works without problems.

This can be related to inproper fix of 0007229 bug. But I can;t verify it.
No tags attached.
Issue History
2008-11-19 13:24Konrad RzepeckiNew Issue
2009-01-10 08:41Alex NeundorfNote Added: 0014515
2009-01-10 08:41Alex NeundorfAssigned To => Alex Neundorf
2009-01-10 08:41Alex NeundorfStatusnew => closed
2009-01-10 08:41Alex NeundorfResolutionopen => fixed

Notes
(0014515)
Alex Neundorf   
2009-01-10 08:41   
Fixed in cvs rev 1.4:
http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/FindGettext.cmake?root=CMake&view=log [^]

Alex