[Cmake-commits] [cmake-commits] alex committed FindGettext.cmake 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Jan 10 08:39:37 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv573

Modified Files:
	FindGettext.cmake 
Log Message:
BUG: fix #8122, _firstPoFile was not empty because it was no real variable
but just a macro argument -> make it a real variable

Alex


Index: FindGettext.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindGettext.cmake,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** FindGettext.cmake	29 Jun 2008 22:58:50 -0000	1.3
--- FindGettext.cmake	10 Jan 2009 13:39:35 -0000	1.4
***************
*** 19,23 ****
  FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt)
  
! MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile)
  
     SET(_gmoFiles)
--- 19,25 ----
  FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt)
  
! MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg)
!    # make it a real variable, so we can modify it here
!    SET(_firstPoFile "${_firstPoFileArg}")
  
     SET(_gmoFiles)



More information about the Cmake-commits mailing list