mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -05:00
stringapi: Use strings for variable names
Variable names are always generated by CMake and should never be NULL.
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
||||
|
||||
// Get a definition from the makefile. If it doesn't exist,
|
||||
// return the original string.
|
||||
static const char* GetVariableOrString(const char* str,
|
||||
static const char* GetVariableOrString(const std::string& str,
|
||||
const cmMakefile* mf);
|
||||
|
||||
cmTypeMacro(cmIfCommand, cmCommand);
|
||||
|
||||
Reference in New Issue
Block a user