cmake issue: includes

Adriaan de Groot groot at kde.org
Fri Mar 31 10:22:49 BST 2006


On Thursday 30 March 2006 21:38, Tanner Lovelace wrote:
> Instead of doing
>
> if (UNIX)
>    include_directories(${X11_INCLUDE_DIR})
> endif (UNIX)
>
> Could you please do this instead?
>
> if (Q_WS_X11)
>    include_directories(${X11_INCLUDE_DIR})
> endif (Q_WS_X11)

One has already changed into UNIX AND NOT APPLE -- which still doesn't seem 
right, though. The addition of X11_INCLUDE_DIR to the DCOP includes is also 
partly broken -- it should add _KDE4_PLATFORM_INCLUDES instead. I'll mess 
with it.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060331/5d5e3a72/attachment.sig>


More information about the kde-core-devel mailing list