diff options
author | Brad King <brad.king@kitware.com> | 2020-03-27 11:49:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-03-27 11:50:28 (GMT) |
commit | a6611577c33538af959348b49aec817dd9649c03 (patch) | |
tree | 788be17486c62f52ca6966fb6640a60592242aa3 /Source/cmState.h | |
parent | 7e3d81b1df9e2c192585d83300344546439e50bd (diff) | |
parent | c84cf42897e4d95706d4f750c2ad085c84a259f2 (diff) | |
download | CMake-a6611577c33538af959348b49aec817dd9649c03.zip CMake-a6611577c33538af959348b49aec817dd9649c03.tar.gz CMake-a6611577c33538af959348b49aec817dd9649c03.tar.bz2 |
Merge topic 'cmprop-getglobalprop'
c84cf42897 cmState::GetGlobalProperty: return cmProp
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4521
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 9d1b3c7..e3fbfdc 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -174,7 +174,7 @@ public: void SetGlobalProperty(const std::string& prop, const char* value); void AppendGlobalProperty(const std::string& prop, const std::string& value, bool asString = false); - const char* GetGlobalProperty(const std::string& prop); + cmProp GetGlobalProperty(const std::string& prop); bool GetGlobalPropertyAsBool(const std::string& prop); std::string const& GetSourceDirectory() const; |