diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-05-02 12:20:56 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-05-11 16:16:08 (GMT) |
commit | b1729200c318dab23daac8643da5f9fdc673a5ef (patch) | |
tree | 46da1a315c6cc75fb22e63d07b667f31c9254de8 /Source/cmFindFileCommand.cxx | |
parent | ee87e53d3732a6482841c01c16e89f2822137d0e (diff) | |
download | CMake-b1729200c318dab23daac8643da5f9fdc673a5ef.zip CMake-b1729200c318dab23daac8643da5f9fdc673a5ef.tar.gz CMake-b1729200c318dab23daac8643da5f9fdc673a5ef.tar.bz2 |
find_*: refactor cache variable handling
Diffstat (limited to 'Source/cmFindFileCommand.cxx')
-rw-r--r-- | Source/cmFindFileCommand.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx index 29a2bc4..a88c1b1 100644 --- a/Source/cmFindFileCommand.cxx +++ b/Source/cmFindFileCommand.cxx @@ -2,12 +2,15 @@ file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmFindFileCommand.h" +#include "cmStateTypes.h" + class cmExecutionStatus; cmFindFileCommand::cmFindFileCommand(cmExecutionStatus& status) - : cmFindPathCommand(status) + : cmFindPathCommand("find_file", status) { this->IncludeFileInPath = true; + this->VariableType = cmStateEnums::FILEPATH; } bool cmFindFile(std::vector<std::string> const& args, |