[CMake] include_directories and qt4_wrap_cpp

David Cole david.cole at kitware.com
Thu Aug 5 06:07:00 EDT 2010


No, he's right. "\\." when used in a CMake string(REGEX operation matches a
single dot exactly. The "\\" is required to get a single "\" into the
regular expression engine.


On Thu, Aug 5, 2010 at 5:39 AM, Michael Wild <themiwi at gmail.com> wrote:

>
> On 5. Aug, 2010, at 11:28 , Dennis Schridde wrote:
>
> > On Monday 02 August 2010 17:20:36 Dennis Schridde wrote:
> >> Replacing
> > ".framework" with "\\.framework" works.
> > Was this change already
> > commited?
> > I.e. is the problem solved in the sources now?
> >
> > --Dennis
>
> IMHO this is wrong. \\. searches for a literal backslash. Although it works
> on your machine, it will break on Mac OS X where Qt is installed as a
> framework.
>
> Michael
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100805/462f159a/attachment-0001.htm>


More information about the CMake mailing list