This is an archive of the discontinued LLVM Phabricator instance.

[CMake] fix CLANG_INCLUDE_DIRS CMake export
ClosedPublic

Authored by Sarcasm on Mar 13 2017, 2:30 PM.

Details

Summary

This change should fixes the export of CLANG_INCLUDE_DIRS variable in ClangConfig.cmake.

Unlike for the other variables, CLANG_INSTALL_PREFIX wasn't escaped meaning CLANG_INCLUDE_DIRS
resulting in the path "/include" instead of "${CLANG_INSTALL_PREFIX}/include".

Diff Detail

Repository
rL LLVM

Event Timeline

Sarcasm created this revision.Mar 13 2017, 2:30 PM
beanz accepted this revision.Mar 17 2017, 2:47 PM
beanz added a subscriber: llvm-commits.

LGTM!

This revision is now accepted and ready to land.Mar 17 2017, 2:47 PM
This revision was automatically updated to reflect the committed changes.