diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2014-04-16 13:49:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-16 15:21:50 +0200 |
commit | a420c6e838d4cced25ee77ff7ee3fd41806a88db (patch) | |
tree | 7e7a0d1496f764be1ff791cdc1cf03c355864498 /src/dbus/Qt5DBusMacros.cmake | |
parent | 2ba9a2584f90bf2849182143d90c988ddb937c3a (diff) |
CMake: Include the CMakeParseArguments module for dbus macros.
The cmake_parse_arguments macro is used already in the file. The
module happens to already be included via Qt5CoreMacros, so the
existing code is not currently a problem. Add the include to
comply with 'include what you use' and to ensure that it continues
to work even if Qt5CoreMacros is changed in the future.
Change-Id: I7369261bce9d0e58488e584ef0743e33e9f9ec9e
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/dbus/Qt5DBusMacros.cmake')
-rw-r--r-- | src/dbus/Qt5DBusMacros.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus/Qt5DBusMacros.cmake b/src/dbus/Qt5DBusMacros.cmake index ff497e8ebc..2364c6710c 100644 --- a/src/dbus/Qt5DBusMacros.cmake +++ b/src/dbus/Qt5DBusMacros.cmake @@ -32,6 +32,7 @@ include(MacroAddFileDependencies) +include(CMakeParseArguments) function(QT5_ADD_DBUS_INTERFACE _sources _interface _basename) get_filename_component(_infile ${_interface} ABSOLUTE) |