View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008122CMakeModulespublic2008-11-19 13:242009-01-10 08:41
ReporterKonrad Rzepecki 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008122: gettext_create_translations ALL param treated as po file
DescriptionWhen 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014515)
Alex Neundorf (developer)
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

 Issue History
Date Modified Username Field Change
2008-11-19 13:24 Konrad Rzepecki New Issue
2009-01-10 08:41 Alex Neundorf Note Added: 0014515
2009-01-10 08:41 Alex Neundorf Assigned To => Alex Neundorf
2009-01-10 08:41 Alex Neundorf Status new => closed
2009-01-10 08:41 Alex Neundorf Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team