[Kde-bindings] Patch for cmake/modules/SIPMacros.cmake

Michael Jansen info at michael-jansen.biz
Fri Jul 9 13:44:41 UTC 2010


Hi

I tried to do 

ADD_SIP_PYTHON_MODULE(
    test
    example.sip
    ...)

but it failed to work. The rules to create sipexamplepartX.cpp are created wrong. CMake decides they 
are unused and omits them from the resulting Makefile. Doing the following works

ADD_SIP_PYTHON_MODULE(
    test
    <somedir>/example.sip
    ...)

The attached patch makes the first attempt work too.

Can i commit?

Mike


-------------- next part --------------
A non-text attachment was scrubbed...
Name: SIPMacros.cmake.diff
Type: text/x-patch
Size: 2621 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100709/342de513/attachment.diff>


More information about the Kde-bindings mailing list