diff options
author | Brad King <brad.king@kitware.com> | 2023-06-01 15:19:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-06-01 15:19:19 (GMT) |
commit | f6435f799ea7aa6669b035fee2a0559040890d27 (patch) | |
tree | bbbf240c1da7f73bf0ab4380fa814c5fb592bb7b /Source/cmTarget.h | |
parent | 99e80ea0ac2de2e0c24652c2af8589967996a0d4 (diff) | |
parent | 1f4b374d6e936960d902307bc9dcd4e8d93168e2 (diff) | |
download | CMake-f6435f799ea7aa6669b035fee2a0559040890d27.zip CMake-f6435f799ea7aa6669b035fee2a0559040890d27.tar.gz CMake-f6435f799ea7aa6669b035fee2a0559040890d27.tar.bz2 |
Merge topic 'automoc-moc-options-test'
1f4b374d6e cmQtAutoGenInitializer: Reduce string copies
b6f66b445a cmQtAutoGenInitializer: Remove no-op calls
55d93bdabf cmQtAutoGenInitializer: Improve const correctness
feb56a666f cmTarget: Improve const correctness of AddUtility
5e513e562f Help: Add AUTOMOC_MOC_OPTIONS example
5380ad9d58 Tests: Add test for AUTOMOC_MOC_OPTIONS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8523
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index ac6d130..2d12a70 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -174,7 +174,7 @@ public: * commands. It is not a full path nor does it have an extension. */ void AddUtility(std::string const& name, bool cross, - cmMakefile* mf = nullptr); + cmMakefile const* mf = nullptr); void AddUtility(BT<std::pair<std::string, bool>> util); //! Get the utilities used by this target std::set<BT<std::pair<std::string, bool>>> const& GetUtilities() const; |