From VLE
CMake Error
Error with Gettext
- Internationalization (2.6.1 and 2.6.2):
With CMake 2.6.2 and 2.6.1, a compilation error appears with the internationalization module vle/i18n. It is one appeared error in CMake 2.6.1 and 2.6.2. Several solutions to correct it are possible:
- Update CMake in superior version.
- Update the file FindGettext.cmake of CMake by a more recent version.
- Modify the FindGettext.cmake file of CMake with the patch below:
21c21,23
< MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile)
---
> MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg)
> # make it a real variable, so we can modify it here
> SET(_firstPoFile "${_firstPoFileArg}")