diff options
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 0f8f642..955ec4f 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -404,8 +404,11 @@ public: std::vector<cmDocumentationEntry> GetGeneratorsDocumentation(); //! Set/Get a property of this target file - void SetProperty(const std::string& prop, const char* value); void SetProperty(const std::string& prop, cmValue value); + void SetProperty(const std::string& prop, std::nullptr_t) + { + this->SetProperty(prop, cmValue{ nullptr }); + } void SetProperty(const std::string& prop, const std::string& value) { this->SetProperty(prop, cmValue(value)); |