Home
Phabricator
Search
Log In
Differential
D15895
Diff 42857
cmake/modules/FindClang.cmake
Changeset View
IIUC then CLANG_INCLUDE_DIRS shouldn't be touched. CLANG_INCLUDE_DIRS is for finding the correct include dirs for building KDevClangSupport against libclang -- we don't need to have things like compiler builtin includes in there.
Rather, leave CLANG_INCLUDE_DIRS as it is and do find_path(CLANG_BUILTIN_DIR ...), in other words: create another variable.
@buschinski Just to double-check: /usr/lib64/llvm/7/include has a clang subfolder on Gentoo, right?