[Cmake-commits] [cmake-commits] clinton committed FindQt4.cmake 1.145 1.146

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 29 13:26:03 EST 2009


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

Modified Files:
	FindQt4.cmake 
Log Message:

ENH:  Also find .moc files if there are spaces between # and include.
      Fixes #8433.



Index: FindQt4.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindQt4.cmake,v
retrieving revision 1.145
retrieving revision 1.146
diff -C 2 -d -r1.145 -r1.146
*** FindQt4.cmake	26 Jan 2009 15:12:37 -0000	1.145
--- FindQt4.cmake	29 Jan 2009 18:26:01 -0000	1.146
***************
*** 1132,1136 ****
              GET_FILENAME_COMPONENT(_abs_PATH ${_abs_FILE} PATH)
  
!             STRING(REGEX MATCHALL "#include +[^ ]+\\.moc[\">]" _match "${_contents}")
              IF(_match)
                 FOREACH (_current_MOC_INC ${_match})
--- 1132,1136 ----
              GET_FILENAME_COMPONENT(_abs_PATH ${_abs_FILE} PATH)
  
!             STRING(REGEX MATCHALL "# *include +[^ ]+\\.moc[\">]" _match "${_contents}")
              IF(_match)
                 FOREACH (_current_MOC_INC ${_match})



More information about the Cmake-commits mailing list