heaptrack on ~linux

Milian Wolff mail at milianw.de
Mon Sep 25 20:14:58 UTC 2017


On Montag, 25. September 2017 20:43:38 CEST René J.V. Bertin wrote:
> Hi,
> 
> Can't we make the `add_subdirectory(heaptrack)` line in
> plugins/CMakeLists.txt conditional on being on Linux, IOW, something like
> 
> IF(UNIX AND NOT (APPLE OR CYGWIN))
>     add_directory(heaptrack)
> ENDIF()
> 
> it's a minor annoyance but it's also getting old seeing warnings about
> not-found dependencies which won't ever be available...
> 
> (I'd have pushed this directly but wasn't entirely sure about the exact
> check to make since CMake apparently has no specific Linux host variable.)

Yes, feel free to fix it. Your approach above sounds fine to me.

Cheers

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170925/a41f77e5/attachment.sig>


More information about the KDevelop-devel mailing list