diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-01-26 21:35:54 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-02-02 16:09:00 (GMT) |
commit | 201d8c429843e9e57f833fcca8794f532e6d3028 (patch) | |
tree | a66090c1d5445466e189f149a11c1b1bfde84667 /Source/cmFindCommon.h | |
parent | bd805a51ae4b5be5be6bbadf4afab108fcf4ddb3 (diff) | |
download | CMake-201d8c429843e9e57f833fcca8794f532e6d3028.zip CMake-201d8c429843e9e57f833fcca8794f532e6d3028.tar.gz CMake-201d8c429843e9e57f833fcca8794f532e6d3028.tar.bz2 |
find_*(): Add CMAKE_IGNORE_PREFIX_PATH variable
Fixes: #20878
Diffstat (limited to 'Source/cmFindCommon.h')
-rw-r--r-- | Source/cmFindCommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFindCommon.h b/Source/cmFindCommon.h index 6649c35..5d9b3e1 100644 --- a/Source/cmFindCommon.h +++ b/Source/cmFindCommon.h @@ -86,6 +86,10 @@ protected: void GetIgnoredPaths(std::vector<std::string>& ignore); void GetIgnoredPaths(std::set<std::string>& ignore); + /** Get ignored paths from CMAKE_[SYSTEM_]IGNORE_PREFIX_PATH variables. */ + void GetIgnoredPrefixPaths(std::vector<std::string>& ignore); + void GetIgnoredPrefixPaths(std::set<std::string>& ignore); + /** Compute final search path list (reroot + trailing slash). */ enum class IgnorePaths { |