diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx index 80bc161e4..c3b83c918 100644 --- a/Source/cmFindFileCommand.cxx +++ b/Source/cmFindFileCommand.cxx @@ -96,6 +96,10 @@ bool cmFindFileCommand::InitialPass(std::vector& args) return true; } } - return false; + m_Makefile->AddCacheDefinition(args[0].c_str(), + "NOTFOUND", + helpString.c_str(), + cmCacheManager::PATH); + return true; }