D15895: Use CLANG_INCLUDE_DIRS for clang include dir

Kevin Funk noreply at phabricator.kde.org
Tue Oct 2 15:23:01 BST 2018


kfunk requested changes to this revision.
kfunk added a comment.
This revision now requires changes to proceed.


  Note: This is likely the wrong fix to this problem.
  
  On Ubuntu ...
  
  - `CLANG_INCLUDE_DIRS` yields "/usr/lib/llvm-7/include" which contains the clang/ and llvm/ subdirs. This is not the dir we want. No cpuid.h header in here either.
  - `@CLANG_LIBRARY_DIRS@/clang/@CLANG_VERSION@/include` yields "/usr/lib/llvm-7/lib/clang/7.0.0/include". Okay. Contains the cpuid.h header.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D15895

To: buschinski, #kdevelop, kfunk
Cc: kfunk, arrowd, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20181002/2eddbde5/attachment.html>


More information about the KDevelop-devel mailing list