[libunwind][cmake] Create `LIBUNWIND_INSTALL_INCLUDE_DIR` CACHE PATH
authorJohn Ericson <John.Ericson@Obsidian.Systems>
Sun, 9 Jan 2022 00:08:15 +0000 (00:08 +0000)
committerJohn Ericson <John.Ericson@Obsidian.Systems>
Mon, 10 Jan 2022 21:31:52 +0000 (21:31 +0000)
commit914fffc7f2492a1e4bc419a80c30fdb3f9440698
tree4996f5fb6bdaebae96876ffabd8268d2284bd217
parent4d81a46f7f71559b48568a47edbe6b70a003029e
[libunwind][cmake] Create `LIBUNWIND_INSTALL_INCLUDE_DIR` CACHE PATH

This is created on analogy with the other CACHE PATHs in this package,
and other `*_INSTALL_INCLUDE_DIR` in other packages.

The branching is adjusted to deduplicate some existing code, and
likewise avoid having to define this new variable more than once.

This will be used for D99484.

Reviewed By: #libunwind, compnerd

Differential Revision: https://reviews.llvm.org/D116873
libunwind/CMakeLists.txt
libunwind/include/CMakeLists.txt