Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0008122 [CMake] Modules minor always 2008-11-19 13:24 2009-01-10 08:41
Reporter Konrad Rzepecki View Status public  
Assigned To Alex Neundorf
Priority normal Resolution fixed  
Status closed   Product Version CMake-2-6
Summary 0008122: gettext_create_translations ALL param treated as po file
Description 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  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


Mantis 1.1.4[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker