summaryrefslogtreecommitdiff
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2018-12-20 16:41:04 -0800
committerBrad King <brad.king@kitware.com>2019-01-16 09:59:46 -0500
commita5e948a36f5d1c1cf6a0ea34b04bbc4b6058e7d9 (patch)
treebc00d06b51f88ef5776b106f6be786319e18bc68 /Source/cmFindPackageCommand.h
parentc59eae7ebc5423c2b06befd762f8639b0f23b7a0 (diff)
downloadcmake-a5e948a36f5d1c1cf6a0ea34b04bbc4b6058e7d9.tar.gz
find_package: optionally resolve symlinks when discovering packages
Teach find_package() to resolve symlinks when constructing relocatable prefix paths from discovered cmake config files. The `CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS` variable enables this behavior when set to `TRUE`. Fixes: #18704
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index 05bad4991d..83d8431860 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -178,6 +178,7 @@ private:
bool UseLib32Paths;
bool UseLib64Paths;
bool UseLibx32Paths;
+ bool UseRealPath;
bool PolicyScope;
std::string LibraryArchitecture;
std::vector<std::string> Names;