summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2018-12-21 00:41:04 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-16 14:59:46 (GMT)
commita5e948a36f5d1c1cf6a0ea34b04bbc4b6058e7d9 (patch)
treebc00d06b51f88ef5776b106f6be786319e18bc68 /Source/cmFindPackageCommand.h
parentc59eae7ebc5423c2b06befd762f8639b0f23b7a0 (diff)
downloadCMake-a5e948a36f5d1c1cf6a0ea34b04bbc4b6058e7d9.zip
CMake-a5e948a36f5d1c1cf6a0ea34b04bbc4b6058e7d9.tar.gz
CMake-a5e948a36f5d1c1cf6a0ea34b04bbc4b6058e7d9.tar.bz2
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 05bad49..83d8431 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;