diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-03 17:43:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-04 13:41:59 (GMT) |
commit | 19366408fe4fedaec19e7e964adb02d090e8c0b7 (patch) | |
tree | 9c5202caf4b2acf6bb798d762375131182b342e9 /Source/cmFindPackageCommand.cxx | |
parent | e55c154c5b1cbecd826ac216d69ce88845a56cdc (diff) | |
download | CMake-19366408fe4fedaec19e7e964adb02d090e8c0b7.zip CMake-19366408fe4fedaec19e7e964adb02d090e8c0b7.tar.gz CMake-19366408fe4fedaec19e7e964adb02d090e8c0b7.tar.bz2 |
cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator`
Move virtual function overrides into a protected section of class.
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 92e98c5..3f8378b 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -291,6 +291,7 @@ public: { } +protected: void OnMatchesLoaded() override { // check if there is a specific sorting order to perform @@ -316,6 +317,7 @@ public: { } +protected: std::string TransformNameBeforeCmp(std::string name) override { return cmStrCat(name, this->Extension); |