diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-05 08:55:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-05 09:13:39 (GMT) |
commit | 8f8edeb09bef3065c0a344bfa00f20a843cf1a32 (patch) | |
tree | f5ddb40a06496bdc5d15161d35bed1ba01e3ebf7 /Licenses | |
parent | f748b59e2057d73a25448378442d70b420ed7698 (diff) | |
download | CMake-8f8edeb09bef3065c0a344bfa00f20a843cf1a32.zip CMake-8f8edeb09bef3065c0a344bfa00f20a843cf1a32.tar.gz CMake-8f8edeb09bef3065c0a344bfa00f20a843cf1a32.tar.bz2 |
QtAutogen: Only add source files to the target if AUTORCC is ON.
The qtx_add_resources() macro adds the resource file to the output list
to maintain file-level dependencies. Having the qrc file in a target
sources is a precondition for AUTORCC to function.
When processing the source files of a target, only add the generated
qrc_<file>.cpp to the target sources if AUTORCC is ON. This avoids
pre-porting conflict with the macro.
Reported-by: Micha Hergarden
Diffstat (limited to 'Licenses')
0 files changed, 0 insertions, 0 deletions