Small modification to the FindQt4.cmake module to allow the use of .hpp extension header files and not just .h header files. Currently, it requires .h and I often use .hpp and still want to use automoc. This small patch is a quick hack to let you use .hpp instead.
~Roman
1285c1285,1291 < SET(_header ${_abs_PATH}/${_basename}.h) --- > > IF (EXISTS ${_abs_PATH}/${_basename}.hpp) > SET(_header ${_abs_PATH}/${_basename}.hpp) > ELSE() > SET(_header ${_abs_PATH}/${_basename}.h) > ENDIF() >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake