CMakePM: Only process cmake files for include and modules

... and not for every function. Just the CMake files.

Change-Id: I6e361f4913f8334942a3135adaa0480fdc0cee31
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2023-10-06 21:35:11 +02:00
parent a31287dfe1
commit 1d2c942360

View File

@@ -1432,9 +1432,9 @@ void CMakeBuildSystem::setupCMakeSymbolsHash()
handleImportedTargets(cmakeFile, func); handleImportedTargets(cmakeFile, func);
handleProjectTargets(cmakeFile, func); handleProjectTargets(cmakeFile, func);
handleFindPackageVariables(cmakeFile, func); handleFindPackageVariables(cmakeFile, func);
handleDotCMakeFiles(cmakeFile);
handleFindPackageCMakeFiles(cmakeFile);
} }
handleDotCMakeFiles(cmakeFile);
handleFindPackageCMakeFiles(cmakeFile);
} }
m_projectFindPackageVariables.removeDuplicates(); m_projectFindPackageVariables.removeDuplicates();