diff options
author | Dakota Hawkins <dakotahawkins@gmail.com> | 2018-08-23 01:42:34 -0400 |
---|---|---|
committer | Dakota Hawkins <dakotahawkins@gmail.com> | 2018-08-24 16:51:55 -0400 |
commit | b19292e6b64263992cd049154015a6ef359473ef (patch) | |
tree | ad8e7aae5bf6fd8b2e9f868768a3ad798b46a723 /googlemock/scripts/generator/cpp/keywords.py | |
parent | 9c96f500a39df6915f8f1ab53b60be9889f1572b (diff) | |
download | googletest-b19292e6b64263992cd049154015a6ef359473ef.tar.gz googletest-b19292e6b64263992cd049154015a6ef359473ef.tar.bz2 googletest-b19292e6b64263992cd049154015a6ef359473ef.zip |
Use `$<INSTALL_PREFIX>` in `target_include_directories`
To make sure packages are relocatable, use `$<INSTALL_PREFIX>` in
`$<INSTALL_INTERFACE:...>` `target_include_directories`.
`$<INSTALL_PREFIX>` was introduced in CMake 2.8.11, which is already
being checked for locally.
References:
- https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#id19
- https://github.com/robotology/how-to-export-cpp-library/blob/claudio/headeronly/src/LibTemplateCMake/CMakeLists.txt#L42
Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
Diffstat (limited to 'googlemock/scripts/generator/cpp/keywords.py')
0 files changed, 0 insertions, 0 deletions